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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

/* Login Sayfası Stilleri */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.login-box {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.login-box h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 28px;
}

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

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

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
}

.login-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s;
}

.login-btn:hover {
    transform: translateY(-2px);
}

.error-message {
    background: #fee;
    color: #c33;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #fcc;
}

.demo-info {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 5px;
    text-align: center;
}

.demo-info p {
    margin: 5px 0;
    font-size: 14px;
}

/* Dashboard Stilleri */
.dashboard-container {
    min-height: 100vh;
    background: #f5f6fa;
}

.dashboard-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dashboard-header h1 {
    color: #333;
    font-size: 28px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-info span {
    color: #666;
    font-weight: 500;
}

.logout-btn {
    background: #dc3545;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    transition: background 0.3s;
}

.logout-btn:hover {
    background: #c82333;
}

.dashboard-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.dashboard-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.card-content h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 20px;
}

.card-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.5;
}

.card-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: transform 0.2s;
}

.card-btn:hover {
    transform: translateY(-2px);
}

/* Özel Maç Kartları */
.dashboard-card.free-match {
    border-left: 5px solid #28a745;
    background: linear-gradient(135deg, #f8fff9 0%, #ffffff 100%);
}

.dashboard-card.free-match .card-icon {
    color: #28a745;
}

.dashboard-card.free-match .card-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.dashboard-card.free-match .card-btn:hover {
    background: linear-gradient(135deg, #218838 0%, #1ea080 100%);
}

.dashboard-card.vip-match {
    border-left: 5px solid #ffc107;
    background: linear-gradient(135deg, #fffdf5 0%, #ffffff 100%);
    position: relative;
}

.dashboard-card.vip-match::before {
    content: "PREMIUM";
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ffc107;
    color: #212529;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
}

.dashboard-card.vip-match .card-icon {
    color: #ffc107;
}

.dashboard-card.vip-match .card-btn {
    background: linear-gradient(135deg, #ffc107 0%, #ffca2c 100%);
    color: #212529;
}

.dashboard-card.vip-match .card-btn:hover {
    background: linear-gradient(135deg, #e0a800 0%, #d39e00 100%);
}

.dashboard-card.ai-prediction {
    border-left: 5px solid #6f42c1;
    background: linear-gradient(135deg, #f8f7ff 0%, #ffffff 100%);
    position: relative;
}

.dashboard-card.ai-prediction::before {
    content: "AI";
    position: absolute;
    top: 10px;
    right: 10px;
    background: #6f42c1;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
}

.dashboard-card.ai-prediction .card-icon {
    color: #6f42c1;
}

.dashboard-card.ai-prediction .card-btn {
    background: linear-gradient(135deg, #6f42c1 0%, #8b5cf6 100%);
    color: white;
}

.dashboard-card.ai-prediction .card-btn:hover {
    background: linear-gradient(135deg, #5a2d91 0%, #7c3aed 100%);
}

.welcome-section {
    background: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.welcome-section h2 {
    color: #333;
    margin-bottom: 15px;
    font-size: 24px;
}

.welcome-section p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
}

.system-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.info-item {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 5px;
    border-left: 4px solid #667eea;
}

.info-item strong {
    color: #333;
}

.status-active {
    color: #28a745;
    font-weight: 600;
}

/* Maç Ekleme Sayfaları Stilleri */
.container {
    min-height: 100vh;
    background: #f5f6fa;
}

.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 30px;
}

.header h1 {
    color: #333;
    font-size: 28px;
    margin-bottom: 15px;
}

.nav-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.nav-links a {
    background: #667eea;
    color: white;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 14px;
    transition: background 0.3s;
}

.nav-links a:hover {
    background: #5a6fd8;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 20px;
}

.match-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

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

.match-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.match-form .form-group input,
.match-form .form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.match-form .form-group input:focus,
.match-form .form-group select:focus {
    outline: none;
    border-color: #667eea;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, background 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

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

.btn-primary {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #218838 0%, #1ea080 100%);
}

.btn-vip {
    background: linear-gradient(135deg, #ffc107 0%, #ffca2c 100%);
    color: #212529;
    font-weight: bold;
}

.btn-vip:hover {
    background: linear-gradient(135deg, #e0a800 0%, #d39e00 100%);
}

.success-message {
    background: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #c3e6cb;
    font-weight: 500;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
    font-weight: 500;
}

/* VIP Özel Stiller */
.vip-form {
    border: 2px solid #ffc107;
    background: linear-gradient(135deg, #fffdf5 0%, #ffffff 100%);
    position: relative;
}

.vip-badge {
    background: linear-gradient(135deg, #ffc107 0%, #ffca2c 100%);
    color: #212529;
    padding: 10px 20px;
    border-radius: 25px;
    text-align: center;
    margin-bottom: 25px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.vip-icon {
    font-size: 20px;
}

.vip-text {
    font-size: 14px;
    letter-spacing: 1px;
}

.vip-form .form-group input,
.vip-form .form-group select {
    border-color: #ffc107;
}

.vip-form .form-group input:focus,
.vip-form .form-group select:focus {
    border-color: #e0a800;
    box-shadow: 0 0 0 0.2rem rgba(255, 193, 7, 0.25);
}

/* Maç Listesi Sayfası Stilleri */
.matches-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.no-matches {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.no-matches p {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

.matches-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.stat-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    flex: 1;
    min-width: 150px;
    text-align: center;
}

.stat-item strong {
    display: block;
    color: #333;
    font-size: 14px;
    margin-bottom: 5px;
}

.matches-table-container {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    overflow-x: auto;
}

.matches-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.matches-table th,
.matches-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.matches-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.matches-table td {
    font-size: 14px;
    color: #555;
}

.matches-table tr:hover {
    background: #f8f9fa;
}

.free-match-row {
    border-left: 4px solid #28a745;
}

.vip-match-row {
    border-left: 4px solid #ffc107;
}

.match-type {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
}

.match-type.free {
    background: #d4edda;
    color: #155724;
}

.match-type.vip {
    background: #fff3cd;
    color: #856404;
}

.team-name {
    font-weight: 600;
    color: #333;
}

.odds {
    font-weight: bold;
    color: #007bff;
}

.actions {
    white-space: nowrap;
}

.actions .btn {
    padding: 6px 12px;
    font-size: 12px;
    margin-right: 5px;
    text-decoration: none;
    display: inline-block;
}

.btn-edit {
    background: #007bff;
    color: white;
}

.btn-edit:hover {
    background: #0056b3;
}

.btn-delete {
    background: #dc3545;
    color: white;
}

.btn-delete:hover {
    background: #c82333;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #545b62;
}

/* Maç Düzenleme Sayfası Stilleri */
.match-info {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.match-info h3 {
    color: #333;
    margin-bottom: 10px;
}

.match-info p {
    color: #666;
    margin: 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.form-actions .btn {
    flex: 1;
    min-width: 120px;
    text-align: center;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .system-info {
        grid-template-columns: 1fr;
    }
    
    .login-box {
        margin: 20px;
        padding: 30px;
    }
    
    .nav-links {
        justify-content: center;
    }
    
    .form-container {
        padding: 0 15px;
    }
    
    .match-form {
        padding: 20px;
    }
    
    .header {
        text-align: center;
    }
    
    .matches-stats {
        flex-direction: column;
    }
    
    .matches-table-container {
        margin: 0 -20px;
        border-radius: 0;
    }
    
    .matches-table th,
    .matches-table td {
        padding: 8px;
        font-size: 12px;
    }
    
    .actions .btn {
        padding: 4px 8px;
        font-size: 11px;
        margin-bottom: 2px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        flex: none;
    }
}
