:root {
   --barca-blue: #0A0A5F;
  --barca-red: #A50044;
  --barca-gold: #FDB913; 
  --text-light: #f0f0f0;
  --font-heading: 'Montserrat Alternates', sans-serif;
  --font-body: 'Poppins', sans-serif;
}

body {
  font-family: var(--font-body);
  margin: 0;
  background: linear-gradient(to bottom right, var(--barca-blue), var(--barca-red));
  color: var(--text-light);
}

a {
  color: var(--barca-gold);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: white;
}

button {
  background: var(--barca-gold);
  color: #000;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background: white;
  color: var(--barca-red);
}

header, footer {
  background: var(--barca-blue);
  text-align: center;
  padding: 12px;
  font-family: var(--font-heading);
  color: white;
}






/* owner style start */
    .owner-dashboard {
        max-width: 1200px;
        margin: 40px auto;
        background-color: #1e1e1e;
        padding: 40px;
        border-radius: 16px;
        box-shadow: 0 8px 32px rgba(0,0,0,0.3);
        color: #ffffff;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    .dashboard-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 40px;
        padding-bottom: 20px;
        border-bottom: 1px solid #333;
    }

    .dashboard-header h2 {
        font-size: 2.2rem;
        color: #ffd700;
        margin: 0;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .stadium-info {
        background: #252525;
        padding: 25px;
        border-radius: 12px;
        margin-bottom: 30px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }

    .info-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        margin-bottom: 20px;
    }

    .info-item {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .info-icon {
        font-size: 1.5rem;
        color: #ffd700;
    }

    .info-label {
        font-weight: 500;
        color: #aaa;
        margin-bottom: 4px;
    }

    .info-value {
        font-size: 1.1rem;
        font-weight: 500;
    }

    .status-badge {
        display: inline-flex;
        align-items: center;
        padding: 8px 16px;
        border-radius: 20px;
        font-weight: 600;
        font-size: 0.9rem;
    }

    .status-active {
        background-color: rgba(76, 175, 80, 0.2);
        color: #4caf50;
    }

    .status-inactive {
        background-color: rgba(244, 67, 54, 0.2);
        color: #f44336;
    }

    .dashboard-buttons {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
        margin-top: 40px;
    }

    .dashboard-button {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        padding: 18px 24px;
        font-weight: 600;
        background: linear-gradient(135deg, #d50032 0%, #a40026 100%);
        color: #fff;
        text-decoration: none;
        border-radius: 10px;
        transition: all 0.3s ease;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }

    .dashboard-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    }

    .dashboard-button i {
        font-size: 1.4rem;
    }

    .toggle-form {
        margin-top: 25px;
    }

    .toggle-button {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 12px 24px;
        font-weight: 600;
        background: linear-gradient(135deg, #ffd700 0%, #e0c200 100%);
        color: #000;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }

    .toggle-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 12px rgba(0,0,0,0.3);
    }

    .empty-state {
        text-align: center;
        padding: 40px 20px;
        background: #252525;
        border-radius: 12px;
        margin-bottom: 30px;
    }

    .empty-state p {
        font-size: 1.1rem;
        margin-bottom: 20px;
        color: #aaa;
    }

    @media (max-width: 768px) {
        .owner-dashboard {
            padding: 25px;
        }
        
        .dashboard-header h2 {
            font-size: 1.8rem;
        }
        
        .dashboard-buttons {
            grid-template-columns: 1fr;
        }
    }
/* owner style end */





    /* Navbar Base Styles */
    .navbar {
        background-color: #0a0a0a;
        color: white;
        padding: 0.5rem 0;
        position: sticky;
        top: 0;
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }

    .navbar-container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 2rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }

    /* Brand/Logo Styles */
    .navbar-brand {
        display: flex;
        align-items: center;
        text-decoration: none;
        font-size: 1.6rem;
        font-weight: 700;
        color: #ffd700;
        font-family: 'Montserrat Alternates', sans-serif;
        transition: transform 0.3s ease;
    }

    .navbar-brand:hover {
        transform: translateY(-2px);
    }

    .logo-icon {
        margin-right: 0.5rem;
        font-size: 1.8rem;
    }

    /* Navigation Links */
    .navbar-links {
        display: flex;
        align-items: center;
        gap: 1.5rem;
    }

    .navbar-auth {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .nav-link {
        color: #fff;
        text-decoration: none;
        font-weight: 500;
        padding: 0.5rem 1rem;
        border-radius: 6px;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .nav-button {
        background: none;
        border: none;
        color: white;
        cursor: pointer;
        font-weight: 500;
        padding: 0.5rem 1rem;
        border-radius: 6px;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 1rem;
    }

    .login-button {
        background-color: #d50032;
    }

    .login-button:hover {
        background-color: #a40026;
        transform: translateY(-2px);
    }

    .register-button {
        background-color: #ffd700;
        color: #000;
    }

    .register-button:hover {
        background-color: #e0c200;
        transform: translateY(-2px);
    }

    /* Mobile Menu */
    .navbar-toggle {
        display: none;
        background: none;
        border: none;
        color: white;
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0.5rem;
    }

    .hamburger {
        width: 24px;
        height: 24px;
    }

    /* Responsive Styles */
    @media (max-width: 768px) {
        .navbar-container {
            padding: 0 1.5rem;
        }

        .navbar-toggle {
            display: block;
        }

        .navbar-links {
            display: none;
            width: 100%;
            flex-direction: column;
            gap: 1rem;
            padding: 1rem 0;
        }

        .navbar-links.active {
            display: flex;
        }

        .navbar-auth {
            flex-direction: column;
            width: 100%;
            gap: 0.5rem;
        }

        .nav-link, .nav-button {
            width: 100%;
            justify-content: center;
            padding: 0.75rem;
        }
    }



    
 /* Navbar Base Styles end */








 /* Profile dropdown styles */
./* Profile dropdown styles */
.profile-dropdown {
    position: relative;
    display: inline-block;
}

.profile-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.profile-icon:hover {
    background-color: rgba(255,255,255,0.1);
}

.profile-name {
    font-family: 'Poppins', sans-serif;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    z-index: 100;
    padding: 8px 0;
}

.dropdown-content a, .dropdown-form {
    color: #333;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.dropdown-content a:hover {
    background-color: #f5f5f5;
}

.dropdown-form {
    margin: 0;
    padding: 0;
}

.dropdown-item {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px 16px;
    font-size: 0.9rem;
    color: #333;
}

.dropdown-item:hover {
    background-color: #f5f5f5;
}

.dropdown-content i {
    width: 20px;
    margin-right: 10px;
    text-align: center;
}

.profile-dropdown:hover .dropdown-content {
    display: block;
}

/* Existing navbar styles */
.navbar-auth {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-form {
    margin: 0;
}

/* Profile dropdown styles end*/



/* time slot styles*/


.time-slots-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.card {
    background: #4299e1;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.slot-form, .generate-form {
    margin-top: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.day-slots {
    background: #44484c;
    border-radius: 6px;
    padding: 1rem;
}

.day-slots h4 {
    margin-bottom: 0.75rem;
    color: #fafafa;
}

.slot-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.slot-time {
    font-size: 0.9rem;
}

.btn-primary, .btn-generate {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    font-weight: 500;
}

.btn-primary {
    background: #4299e1;
    color: white;
}

.btn-generate {
    background: #48bb78;
    color: white;
}

.btn-delete {
    background: #f56565;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    cursor: pointer;
}

.empty-state {
    text-align: center;
    padding: 2rem;
    color: #718096;
}

.empty-state i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #cbd5e0;
}

/* time slot styles end*/




.alert-danger {
    background: #fef2f2;
    color: #dc2626;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    border-left: 4px solid #dc2626;
}

.alert-danger i {
    color: #dc2626;
    margin-right: 0.5rem;
}