/* FC EIbergen clubkleuren - Blauw en Wit */
:root {
    --fc-primary: #b1e1fa;       /* FC EIbergen lichtblauw */
    --fc-secondary: #FFFFFF;     /* Wit */
    --fc-dark: #2C415A;          /* FC EIbergen donkerblauw */
    --fc-dark-medium: #7496bf;
    --fc-accent: #FFD700;        /* Goud accent voor WK thema */
    --fc-light: #E8F4F8;         /* Licht blauw */
}

body {
    background: linear-gradient(135deg, var(--fc-light) 0%, var(--fc-secondary) 100%);
    min-height: 100vh;
    font-family: 'Helvetica Neue', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.fce-header {
    background: linear-gradient(15deg, var(--fc-dark) 50%, var(--fc-primary) 100%);
    color: var(--fc-secondary);
    padding: 0 0 1rem 0; /* Alleen padding onderaan */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.fce-jumbotron {
    background: var(--fc-secondary);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 61, 165, 0.6);
    padding: 3rem;
    margin-top: 2rem;
    border: 3px solid var(--fc-dark-medium);
}

.fce-logo {
    max-width: 150px;
    margin-bottom: 1rem;
}

.fce-title {
    color: var(--fc-primary);
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.fce-subtitle {
    color: var(--fc-dark);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.form-control:focus {
    border-color: var(--fc-primary);
    box-shadow: 0 0 0 0.2rem rgba(0, 61, 165, 0.25);
}

.btn-fce-primary {
    background: linear-gradient(135deg, var(--fc-primary) 0%, var(--fc-dark) 100%);
    border: none;
    color: var(--fc-secondary);
    padding: 12px 40px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-fce-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 61, 165, 0.4);
    background: linear-gradient(135deg, var(--fc-dark) 0%, var(--fc-primary) 100%);
    color: var(--fc-secondary);
}

.code-input {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    text-align: center;
    letter-spacing: 2px;
    padding: 15px;
    border: 2px solid var(--fc-primary);
    border-radius: 8px;
}

.alert-fce {
    border-radius: 8px;
    border-left: 4px solid currentColor;
}
.alert-fce.alert-success { border-left-color: #198754; }
.alert-fce.alert-danger  { border-left-color: #dc3545; }
.alert-fce.alert-warning { border-left-color: #fd7e14; }
.alert-fce.alert-info    { border-left-color: #0dcaf0; }

.sponsor-logo-img {
    height: 60px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.wk-badge {
    background: var(--fc-accent);
    color: var(--fc-dark);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-text {
    color: var(--fc-primary);
    margin-top: 2rem;
    font-size: 0.9rem;
}

.info-card {
    background: var(--fc-light);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1.5rem;
    border-left: 4px solid var(--fc-primary);
}

.soccer-icon {
    font-size: 3rem;
    color: var(--fc-primary);
    margin-bottom: 1rem;
}

.sponsor-sidebar {
    background: var(--fc-secondary);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 61, 165, 0.2);
    padding: 2rem;
    border: 3px solid var(--fc-primary);
    position: sticky;
    top: 20px;
    margin-top: 2rem;
}

.sponsor-sidebar h5 {
    color: var(--fc-primary);
    font-weight: bold;
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--fc-light);
}

.sponsor-logo-container {
    background: var(--fc-light);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.sponsor-logo-container:hover {
    border-color: var(--fc-primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 61, 165, 0.15);
}

.sponsor-logo-container img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
}

.sponsor-placeholder {
    color: var(--fc-primary);
    font-size: 2rem;
    opacity: 0.3;
}

.sponsor-text {
    color: var(--fc-primary);
    font-size: 0.9rem;
    text-align: center;
    margin-top: 0.5rem;
}

/* Logo styling */
.fce-logo-img {
    height: 120px;
    width: auto;
    object-fit: contain;
    background: transparent;
}

@media (max-width: 768px) {
    .fce-logo-img {
        height: 120px;
    }

    .fce-header .d-flex {
        flex-direction: column;
        gap: 1rem;
    }

    .fce-header .fce-logo:last-child {
        display: none;
    }
}

/* Zorg dat het logo goed zichtbaar is op donkere achtergrond */
.fce-header .fce-logo-img {
    filter: brightness(1) invert(0); 
}

.fce-card-header {
    background: var(--fc-accent) !important;
    color: var(--fc-dark) !important;
}