/* Custom CSS for Referneed */

:root {
    --primary-color: #2c5530;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --accent-color: #ff6b35;
    --grass-color: #4a7c59;
    --sky-color: #87ceeb;
}

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--grass-color) 0%, var(--primary-color) 50%, var(--accent-color) 100%);
    color: white;
    min-height: 500px;
}

.hero-section h1 {
    color: white !important;
}

.hero-image {
    position: relative;
}

.soccer-ball {
    font-size: 8rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-30px);
    }
    60% {
        transform: translateY(-15px);
    }
}

/* Step Numbers */
.step-number {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

/* Feature Icons */
.feature-icon {
    font-size: 3rem;
}

.role-icon {
    font-size: 4rem;
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Forms */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Buttons */
.btn {
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
    transform: translateY(-2px);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Navigation */
.navbar-brand {
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
}

/* Status Badges */
.badge {
    font-size: 0.7rem;
    padding: 0.35rem 0.65rem;
    font-weight: 500;
    border-radius: 0.375rem;
    display: inline-block;
    cursor: default;
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    box-shadow: none;
    transition: none;
}

.badge:hover {
    transform: none;
    box-shadow: none;
}

.status-concept {
    background-color: var(--secondary-color);
    color: white;
    opacity: 0.85;
}

.status-uitvragen {
    background-color: var(--info-color);
    color: white;
    opacity: 0.85;
}

.status-reacties {
    background-color: var(--warning-color);
    color: black;
    opacity: 0.9;
}

.status-gepland {
    background-color: var(--success-color);
    color: white;
    opacity: 0.85;
}

.status-gespeeld {
    background-color: var(--dark-color);
    color: white;
    opacity: 0.85;
}

.status-geannuleerd {
    background-color: var(--danger-color);
    color: white;
    opacity: 0.85;
}

/* Tables */
.table {
    border-radius: 0.5rem;
    overflow: hidden;
}

.table thead th {
    background-color: var(--light-color);
    border-bottom: 2px solid var(--primary-color);
    font-weight: 600;
}

/* Table responsive improvements */
.table-responsive {
    position: relative;
}

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

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

.table-responsive::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: var(--grass-color);
}

/* Alerts */
.alert {
    border-radius: 0.5rem;
    border: none;
}

/* Loading Spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Dashboard Cards */
.dashboard-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.dashboard-card .card-body {
    padding: 2rem;
}

.dashboard-stat {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Match Cards */
.match-card {
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.match-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.match-date {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.match-location {
    font-weight: 600;
}

.match-opponent {
    color: var(--primary-color);
    font-weight: 600;
}

/* Response Cards */
.response-card {
    border-left: 4px solid var(--success-color);
}

.response-card.rejected {
    border-left-color: var(--danger-color);
}

.response-card.cancelled {
    border-left-color: var(--secondary-color);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-section {
        min-height: 400px;
        text-align: center;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .soccer-ball {
        font-size: 4rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .feature-icon {
        font-size: 2rem;
    }
    
    .role-icon {
        font-size: 3rem;
    }
    
    .dashboard-stat {
        font-size: 2rem;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .bg-light {
        background-color: #343a40 !important;
        color: white;
    }
    
    .card {
        background-color: #495057;
        color: white;
    }
    
    .table {
        color: white;
    }
    
    .table thead th {
        background-color: #495057;
        color: white;
    }
}

/* Custom Animations */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-left {
    animation: slideInLeft 0.5s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.5s ease-out;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-soft {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.border-radius-lg {
    border-radius: 1rem;
}

.border-radius-xl {
    border-radius: 1.5rem;
}

/* Form Enhancements */
.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--primary-color);
}

/* Toast Notifications */
.toast {
    border-radius: 0.5rem;
}

.toast-header {
    background-color: var(--light-color);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

/* Progress Bars */
.progress {
    border-radius: 0.5rem;
    height: 0.5rem;
}

.progress-bar {
    border-radius: 0.5rem;
}

/* Registration Type Selection - Vertical Layout */
.registration-type {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid #e9ecef !important;
    border-radius: 12px;
}

.registration-type:hover {
    border-color: var(--primary-color) !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.15);
    background-color: rgba(13, 110, 253, 0.02);
}

.registration-type.selected {
    border-color: var(--primary-color) !important;
    background-color: rgba(13, 110, 253, 0.05);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
}

.role-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
}

.role-icon img {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
}

.registration-type:hover .role-icon img {
    transform: scale(1.1);
}

/* New Color Palette Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--grass-color);
    border-color: var(--grass-color);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

/* Feature Icons */
.feature-icon {
    font-size: 2.5rem;
    color: var(--accent-color);
}

/* Role Icons */
.role-icon img {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
    transition: transform 0.3s ease;
}

.role-icon:hover img {
    transform: scale(1.05);
}

/* Registration Type Selection Hidden State */
#typeSelection.hidden {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Hero Section Button Styles */
.hero-section .btn-light {
    background-color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    font-weight: 600;
}

.hero-section .btn-light:hover {
    background-color: white;
    border-color: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

