* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

button, 
.saltbahis-btn, 
.action-btn, 
.refresh-btn,
.clickable-row {
    -webkit-tap-highlight-color: rgba(76, 175, 80, 0.3);
    touch-action: manipulation;
}

button, 
.saltbahis-btn, 
.action-btn, 
.refresh-btn {
    min-height: 44px;
    min-width: 44px;
}

.clickable-row {
    min-height: 50px;
}

input[type="text"], 
input[type="email"], 
input[type="password"], 
select, 
textarea {
    font-size: 16px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

html {
    scroll-behavior: smooth;
}

button:focus,
.saltbahis-btn:focus,
.action-btn:focus,
input:focus,
select:focus {
    outline: 2px solid #4CAF50;
    outline-offset: 2px;
}

.saltbahis-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 3px solid #4CAF50;
    min-height: 60px;
    flex-wrap: wrap;
    gap: 10px;
}

@media (max-width: 480px) {
    .saltbahis-header {
        flex-direction: column;
        padding: 8px 10px;
        min-height: 80px;
    }
    
    .saltbahis-logo {
        height: 30px;
    }
    
    .saltbahis-header-buttons {
        width: 100%;
        justify-content: center;
        gap: 8px;
    }
    
    .saltbahis-btn {
        padding: 6px 12px;
        font-size: 11px;
        flex: 1;
        max-width: 120px;
    }
    
    .container {
        margin-top: 95px;
        padding: 10px;
    }
    
    .header h1 {
        font-size: 1.4rem;
    }
    
    .table-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .header-actions {
        width: 100%;
        justify-content: center;
        gap: 10px;
    }
    
    .matches-table {
        font-size: 12px;
    }
    
    .matches-table th,
    .matches-table td {
        padding: 8px 4px;
    }
    
    .teams-cell {
        font-size: 11px;
        min-width: 80px;
    }
    
    .vs {
        font-size: 9px;
        margin: 0 2px;
    }
    
    .action-btn {
        padding: 6px 10px;
        font-size: 10px;
        min-width: 70px;
    }
    
    .modal {
        margin: 10px;
        width: calc(100% - 20px);
    }
    
    .modal-body {
        padding: 15px;
    }
}

.saltbahis-logo-container {
    display: flex;
    align-items: center;
}

.saltbahis-logo {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

.saltbahis-logo:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.saltbahis-header-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.saltbahis-btn {
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid transparent;
    display: inline-block;
}

.saltbahis-btn-login {
    background: transparent;
    color: #4CAF50;
    border-color: #4CAF50;
}

.saltbahis-btn-login:hover {
    background: #4CAF50;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
}

.saltbahis-btn-register {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
    border-color: #4CAF50;
}

.saltbahis-btn-register:hover {
    background: linear-gradient(135deg, #2E7D32, #1B5E20);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
}


@media screen and (max-width: 320px) {
    body {
        padding: 0 5px;
    }
    
    .saltbahis-header {
        padding: 5px 8px;
        min-height: 80px;
        flex-direction: column;
        gap: 8px;
    }
    
    .saltbahis-logo {
        height: 25px;
    }
    
    .saltbahis-header-buttons {
        width: 100%;
        flex-direction: column;
        gap: 5px;
    }
    
    .saltbahis-btn {
        padding: 6px 12px;
        font-size: 10px;
        width: 100%;
        max-width: none;
        min-height: 35px;
    }
    
    .container {
        margin-top: 90px;
        padding: 5px;
    }
    
    .header {
        padding: 10px 8px;
        margin-bottom: 15px;
    }
    
    .header h1 {
        font-size: 1.1rem;
    }
    
    .table-header {
        padding: 10px 8px;
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .header-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .leaderboard-btn,
    .admin-btn {
        padding: 6px 12px;
        font-size: 10px;
        flex: 1;
        min-width: 80px;
    }
    
    .matches-table {
        font-size: 9px;
    }
    
    .matches-table th,
    .matches-table td {
        padding: 4px 2px;
    }
    
    .teams-cell {
        font-size: 8px;
        min-width: 70px;
    }
    
    .vs {
        font-size: 6px;
        margin: 0 1px;
    }
    
    .time-cell,
    .date-cell,
    .league-cell {
        font-size: 7px;
    }
    
    .action-btn {
        padding: 3px 6px;
        font-size: 7px;
        min-width: 50px;
    }
    
    .modal {
        margin: 5px;
        width: calc(100% - 10px);
        max-height: 90vh;
    }
    
    .modal-header {
        padding: 8px;
    }
    
    .modal-header h2 {
        font-size: 1rem;
    }
    
    .modal-body {
        padding: 8px;
    }
    
    .form-group {
        margin-bottom: 10px;
    }
    
    .form-group label {
        font-size: 11px;
        margin-bottom: 3px;
    }
    
    .form-group input,
    .form-group select {
        padding: 6px 8px;
        font-size: 12px;
    }
    
    .submit-btn {
        padding: 8px 12px;
        font-size: 11px;
    }
}

@media (min-width: 321px) and (max-width: 575px) {
    body {
        padding: 0 8px;
    }
    
    .saltbahis-header {
        padding: 8px 12px;
        min-height: 90px;
        flex-direction: column;
        gap: 10px;
    }
    
    .saltbahis-logo {
        height: 30px;
    }
    
    .saltbahis-header-buttons {
        width: 100%;
        justify-content: center;
        gap: 8px;
        flex-wrap: wrap;
    }
    
    .saltbahis-btn {
        padding: 8px 16px;
        font-size: 11px;
        flex: 1;
        text-align: center;
        min-width: 100px;
        max-width: 130px;
        min-height: 38px;
    }
    
    .container {
        margin-top: 105px;
        padding: 10px;
    }
    
    .header {
        padding: 15px 10px;
        margin-bottom: 20px;
    }
    
    .header h1 {
        font-size: 1.4rem;
    }
    
    .table-header {
        padding: 15px 10px;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .header-actions {
        width: 100%;
        justify-content: center;
        gap: 10px;
    }
    
    .leaderboard-btn,
    .admin-btn {
        padding: 8px 16px;
        font-size: 11px;
        flex: 1;
        max-width: 120px;
    }
    
    .matches-table {
        font-size: 11px;
    }
    
    .matches-table th,
    .matches-table td {
        padding: 8px 6px;
    }
    
    .teams-cell {
        font-size: 10px;
        min-width: 90px;
    }
    
    .vs {
        font-size: 8px;
        margin: 0 3px;
    }
    
    .time-cell,
    .date-cell {
        font-size: 9px;
    }
    
    .league-cell {
        font-size: 8px;
    }
    
    .action-btn {
        padding: 6px 10px;
        font-size: 9px;
        min-width: 70px;
    }
    
    .modal {
        margin: 10px;
        width: calc(100% - 20px);
        max-height: 85vh;
    }
    
    .modal-header {
        padding: 12px;
    }
    
    .modal-header h2 {
        font-size: 1.1rem;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group label {
        font-size: 12px;
        margin-bottom: 5px;
    }
    
    .form-group input,
    .form-group select {
        padding: 8px 10px;
        font-size: 13px;
    }
    
    .submit-btn {
        padding: 10px 15px;
        font-size: 12px;
    }
}

    .header {
        padding: 20px 15px;
        margin-bottom: 20px;
    }
    
    .header h1 {
        font-size: 1.5rem;
        margin-bottom: 8px;
    }
    
    .header p {
        font-size: 0.9rem;
    }
    
    .matches-container {
        border-radius: 8px;
        margin-bottom: 20px;
    }
    
    .table-header {
        padding: 15px;
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .header-actions {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .leaderboard-btn,
    .admin-btn,
    .refresh-btn {
        flex: 1;
        min-width: 100px;
        justify-content: center;
    }
    
    .table-header h2 {
        font-size: 1.2rem;
    }
    
    .refresh-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
        align-self: center;
    }
    
    .table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .scroll-hint {
        display: block;
    }
    
    .matches-table {
        min-width: 500px;
        font-size: 12px;
    }
    
    .matches-table th,
    .matches-table td {
        padding: 12px 8px;
        white-space: nowrap;
        text-align: center;
    }
    
    .clickable-row {
        min-height: 60px;
    }
    
    .clickable-row:hover::after {
        display: none;
    }
    
    .teams-cell {
        font-size: 11px;
        line-height: 1.2;
    }
    
    .vs {
        font-size: 8px;
        color: #666;
    }
    
    .time-cell {
        font-size: 11px;
        font-weight: 600;
        color: #2E7D32;
    }
    
    .league-cell {
        font-size: 10px;
        color: #666;
    }
    
    .action-btn {
        padding: 6px 8px;
        font-size: 10px;
        min-width: 80px;
    }
    
    .modal {
        margin: 20px;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .modal-header {
        padding: 15px;
    }
    
    .modal-header h2 {
        font-size: 1.2rem;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group label {
        font-size: 14px;
        margin-bottom: 5px;
    }
    
    .form-group input,
    .form-group select {
        font-size: 14px;
        padding: 8px;
        border-radius: 4px;
    }
    
    .form-group select {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        background-size: 16px;
        background-position: right 8px center;
    }
    
    .submit-btn {
        padding: 10px 20px;
        font-size: 14px;
        width: 100%;
    }
    
    .notification {
        left: 10px;
        right: 10px;
        width: auto;
        font-size: 14px;
    }
    
    .saltbahis-footer {
        padding: 15px;
        margin-top: auto;
    }
    
    .saltbahis-footer p {
        font-size: 12px;
}


@media (min-width: 576px) and (max-width: 767px) {
    body {
        padding: 0 15px;
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }
    
    .container {
        margin-top: 90px;
        padding: 15px;
        flex: 1;
    }
    
    .saltbahis-header {
        padding: 10px 20px;
        flex-direction: row;
        gap: 15px;
    }
    
    .saltbahis-logo {
        height: 40px;
    }
    
    .saltbahis-header-buttons {
        gap: 10px;
    }
    
    .saltbahis-btn {
        padding: 10px 20px;
        font-size: 13px;
        flex: none;
        min-width: 120px;
    }
    
    .header h1 {
        font-size: 1.8rem;
    }
    
    .table-header {
        padding: 20px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .matches-table {
        font-size: 13px;
    }
    
    .matches-table th,
    .matches-table td {
        padding: 15px 10px;
    }
    
    .teams-cell {
        font-size: 12px;
    }
    
    .modal {
        margin: 40px;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .saltbahis-footer {
        padding: 20px;
        margin-top: auto;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    body {
        padding: 0 20px;
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }
    
    .container {
        max-width: 1000px;
        margin: 80px auto 0;
        padding: 20px 30px;
        flex: 1;
    }
    
    .saltbahis-header {
        padding: 15px 30px;
    }
    
    .saltbahis-logo {
        height: 45px;
    }
    
    .saltbahis-btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .matches-table {
        font-size: 14px;
    }
    
    .matches-table th,
    .matches-table td {
        padding: 18px 12px;
    }
    
    .modal {
        margin: 60px;
    }
    
    .saltbahis-footer {
        padding: 25px;
        margin-top: auto;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .container {
        max-width: 1200px;
        margin: 80px auto 0;
        padding: 30px 40px;
    }
    
    .saltbahis-header {
        padding: 15px 40px;
    }
    
    .matches-table {
        font-size: 15px;
    }
    
    .modal {
        margin: 80px;
        max-width: 700px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1600px;
        margin: 80px auto 0;
        padding: 40px 50px;
    }
    
    .saltbahis-header {
        padding: 20px 50px;
    }
    
    .header h1 {
        font-size: 2.5rem;
    }
    
    .matches-table {
        font-size: 16px;
    }
    
             .matches-table th,
    .matches-table td {
        padding: 20px 15px;
    }
}

@media screen and (orientation: landscape) and (max-height: 500px) {
    body {
        padding: 0 10px;
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }
    
    .saltbahis-header {
        padding: 5px 15px;
    }
    
    .saltbahis-logo {
        height: 30px;
    }
    
    .saltbahis-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .header {
        padding: 10px 15px;
        margin-bottom: 10px;
    }
    
    .header h1 {
        font-size: 1.5rem;
    }
    
    .modal {
        margin: 10px;
        max-height: 80vh;
    }
    
    .modal-header {
        padding: 10px;
    }
    
    .modal-body {
        padding: 10px;
    }
}

.clickable-row.disabled {
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    pointer-events: none;
}

.clickable-row.disabled:hover {
    background-color: transparent !important;
}

.clickable-row.disabled::after {
    display: none !important;
}

.honeypot-field {
    position: absolute !important;
    left: -9999px !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    z-index: -1 !important;
}

.security-warning {
    background: #ffebee;
    border: 1px solid #ffcdd2;
    color: #c62828;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.security-warning i {
    margin-right: 5px;
}

@media print {
    .saltbahis-header,
    .header-actions,
    .action-btn,
    .modal,
    .notification,
    .refresh-btn {
        display: none !important;
    }
    
    .saltbahis-footer {
        display: none !important;
    }
    
    body {
        padding: 0 !important;
        background: white !important;
        color: black !important;
    }
    
    .matches-container {
        border: none !important;
        box-shadow: none !important;
    }
    
    .matches-table th,
    .matches-table td {
        border: 1px solid #000 !important;
    }
}

@media (prefers-contrast: high) {
    .matches-container {
        border: 2px solid #000;
    }
    
    .action-btn {
        border: 2px solid #000;
    }
    
    .form-group select {
        border: 2px solid #000;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .loading i {
        animation: none !important;
    }
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1500px;
    margin: 80px auto 0;
    padding: 20px 30px;
    flex: 1;
}

.header {
    background: #3d8b40;
    color: white;
    padding: 30px 40px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.header h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.header h1 i {
    margin-right: 10px;
    color: #4CAF50;
}

.header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.matches-container {
    background: #2a2a2a;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    margin-bottom: 30px;
    border: 1px solid #4CAF50;
}

.table-header {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    color: white;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.table-header h2 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 600;
}

.table-header h2 i {
    margin-right: 10px;
}

.refresh-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.refresh-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.refresh-btn i {
    margin-right: 5px;
}

.header-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.leaderboard-btn {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.leaderboard-btn:hover {
    background: linear-gradient(135deg, #F57C00 0%, #E65100 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.4);
}

.leaderboard-btn i {
    margin-right: 5px;
}

.admin-btn {
    background: linear-gradient(135deg, #9C27B0 0%, #7B1FA2 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
}

.admin-btn:hover {
    background: linear-gradient(135deg, #7B1FA2 0%, #4A148C 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(156, 39, 176, 0.4);
}

.admin-btn i {
    margin-right: 5px;
}

.table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.table-wrapper::-webkit-scrollbar {
    height: 8px;
}

.table-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.table-wrapper::-webkit-scrollbar-thumb {
    background: #4CAF50;
    border-radius: 10px;
}

.table-wrapper::-webkit-scrollbar-thumb:hover {
    background: #45a049;
}

.matches-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}

.matches-table thead {
    background: #333333;
}

.matches-table th {
    padding: 18px 15px;
    text-align: center;
    font-weight: 600;
    color: #ffffff;
    border-bottom: 2px solid #4CAF50;
    white-space: nowrap;
}

.matches-table th i {
    margin-right: 8px;
    color: #4CAF50;
}

.matches-table tbody tr {
    transition: all 0.3s ease;
}

.clickable-row {
    cursor: pointer;
    position: relative;
}

.clickable-row:hover {
    background-color: rgba(76, 175, 80, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.clickable-row:hover::after {
    content: "Tıklayın";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: #4CAF50;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    z-index: 10;
}

.matches-table tbody tr:hover {
    transform: translateY(-1px);
}

.matches-table td {
    padding: 18px 15px;
    border-bottom: 1px solid #3a3a3a;
}

.teams-cell {
    font-weight: 600;
    color: #ffffff;
    line-height: 1.4;
}

.vs {
    color: #4CAF50;
    font-size: 0.9em;
    margin: 0 8px;
    font-weight: 500;
}

.date-cell {
    color: #cccccc;
    font-weight: 500;
    white-space: nowrap;
}

.time-cell {
    color: #2E7D32;
    font-weight: 600;
    font-size: 1.1em;
    white-space: nowrap;
}

.league-cell {
    color: #4CAF50;
    font-size: 0.9em;
    font-style: italic;
}

.action-btn {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    min-width: 120px;
    justify-content: center;
}

.action-btn:hover {
    background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.action-btn i {
    margin-right: 5px;
}

.scroll-hint {
    display: none;
    text-align: center;
    padding: 10px;
    background: rgba(76, 175, 80, 0.1);
    border-top: 1px solid #4CAF50;
    color: #4CAF50;
    font-size: 0.9rem;
    font-style: italic;
}

.loading {
    text-align: center;
    padding: 40px;
    font-size: 1.2rem;
    color: #cccccc;
}

.loading i {
    animation: spin 1s linear infinite;
    margin-right: 10px;
    color: #4CAF50;
}

.loading.hidden {
    display: none;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    border: 2px solid #4CAF50;
}

.modal::-webkit-scrollbar {
    width: 8px;
}

.modal::-webkit-scrollbar-track {
    background: rgba(76, 175, 80, 0.1);
    border-radius: 10px;
    margin: 10px 0;
}

.modal::-webkit-scrollbar-thumb {
    background: #4CAF50;
    border-radius: 10px;
}

.modal::-webkit-scrollbar-thumb:hover {
    background: #45a049;
}

.modal::-webkit-scrollbar-thumb:active {
    background: #3d8b40;
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-header {
    background: #3d8b40;
    color: white;
    padding: 20px 30px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.modal-body {
    padding: 30px;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(76, 175, 80, 0.08);
    border-radius: 10px;
    margin: 10px 0;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #4CAF50;
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #45a049;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #ffffff;
    font-size: 0.95rem;
}

.form-group label i {
    margin-right: 8px;
    color: #4CAF50;
    width: 16px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #4a4a4a;
    border-radius: 8px;
    background: #3a3a3a;
    color: #ffffff;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #4CAF50;
    background: #2a2a2a;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.2);
}

.form-group input::placeholder {
    color: #888888;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%234CAF50"><path d="M7 10l5 5 5-5H7z"/></svg>') no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    cursor: pointer;
}

.form-group select option {
    padding: 10px;
    background: #3a3a3a;
    color: #ffffff;
}

.form-group select option:hover {
    background: #4CAF50;
}

.form-group select option:checked {
    background: #4CAF50;
    color: white;
}

.submit-btn {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #2E7D32 0%, #1B5E20 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn i {
    margin-right: 8px;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #4CAF50;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3);
    z-index: 1001;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 300px;
    font-weight: 500;
}

.notification:hover {
    transform: translateY(-22px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

.notification.show {
    opacity: 1;
    transform: translateY(0);
}

.notification.show:hover {
    transform: translateY(-2px);
}

.notification.error {
    background: #f44336;
    box-shadow: 0 5px 15px rgba(244, 67, 54, 0.3);
}

.notification.error:hover {
    box-shadow: 0 8px 25px rgba(244, 67, 54, 0.4);
}

.notification-content {
    display: flex;
    align-items: center;
}

.notification-content i {
    margin-right: 10px;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .notification {
        position: fixed;
        top: 20px;
        left: 20px;
        right: 20px;
        max-width: none;
        text-align: center;
        font-size: 0.9rem;
    }
    
    .notification:hover,
    .notification.show:hover {
        transform: translateY(0);
    }
}

.saltbahis-footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    color: white;
    text-align: center;
    padding: 20px;
    border-top: 3px solid #4CAF50;
    margin-top: auto;
}

.saltbahis-footer p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .header h1 {
        font-size: 1.8rem;
    }
    
    .table-header {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .matches-table {
        font-size: 14px;
    }
    
    .matches-table th,
    .matches-table td {
        padding: 15px 10px;
    }
    
    .teams-cell {
        font-size: 13px;
    }
    
    .modal {
        margin: 20px;
        max-height: 85vh;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .modal::-webkit-scrollbar {
        width: 6px;
    }

    .modal-body::-webkit-scrollbar {
        width: 4px;
    }

    .modal::-webkit-scrollbar-thumb,
    .modal-body::-webkit-scrollbar-thumb {
        background: #4CAF50;
        border-radius: 10px;
    }

    .modal::-webkit-scrollbar-track,
    .modal-body::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .header h1 {
        font-size: 1.5rem;
    }
    
    .matches-table th,
    .matches-table td {
        padding: 12px 8px;
        font-size: 12px;
    }
    
    .action-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
        min-width: 100px;
    }
    
    .time-cell,
    .date-cell {
        font-size: 12px;
    }
    
    .modal::-webkit-scrollbar {
        width: 4px;
    }

    .modal-body::-webkit-scrollbar {
        width: 3px;
    }
    
    .modal-body {
        padding: 15px;
    }
} 