body {
    background: linear-gradient(135deg, #f5f5f5, #e8e8e8);
    background-image: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.4) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(255,255,255,0.4) 0%, transparent 50%), radial-gradient(circle at 40% 40%, rgba(255,255,255,0.3) 0%, transparent 50%), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(0,0,0,0.05)"/></svg>');
    background-size: cover;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}
body.login-page {
    background: linear-gradient(135deg, #fce4ec, #f8bbd9);
    background-image: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.4) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(255,255,255,0.4) 0%, transparent 50%), radial-gradient(circle at 40% 40%, rgba(255,255,255,0.3) 0%, transparent 50%), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    min-height: 100vh;
    display: flex;
    align-items: center;
}
.navbar-toggler {
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 5px;
    background-color: rgba(255,255,255,0.1);
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.5%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar {
    background: linear-gradient(90deg, #2c3e50, #34495e);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.login-page .navbar {
    background: linear-gradient(90deg, #e91e63, #9c27b0);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.navbar.reservations-navbar {
    backdrop-filter: blur(20px);
    background: linear-gradient(90deg, #e91e63, #9c27b0);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.card {
    border-radius: 25px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3), 0 5px 15px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
    position: relative;
}
.login-page .card {
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.1);
}
.card.login-card {
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.1);
}
.card.login-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.4), 0 10px 25px rgba(0,0,0,0.2);
}
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    transition: left 0.8s;
    z-index: 1;
}
.card:hover::before {
    left: 100%;
}
.card-body {
    position: relative;
    z-index: 2;
}
.card:nth-child(1) { animation-delay: 0.1s; }
.card:nth-child(2) { animation-delay: 0.2s; }
.card:nth-child(3) { animation-delay: 0.3s; }
.card:nth-child(4) { animation-delay: 0.4s; }
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.8) rotate(-5deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0deg);
    }
}
.card:hover {
    transform: translateY(-20px) scale(1.05) rotate(2deg);
    box-shadow: 0 25px 50px rgba(0,0,0,0.4), 0 10px 25px rgba(0,0,0,0.2);
}
.card-title {
    font-weight: 700;
    font-size: 1.3rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}
.card-title.login-title {
    font-size: 1.8rem;
    text-align: center;
    color: #333;
}
.card:hover .card-title {
    transform: scale(1.05);
}
.card-title i {
    transition: transform 0.4s ease;
}
.card:hover .card-title i {
    transform: rotate(360deg) scale(1.3);
}
.current-earnings {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}
.current-commission {
    background: linear-gradient(135deg, #95a5a6, #7f8c8d);
    color: white;
}
.total-earnings {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: white;
}
.total-commission {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}
.upcoming-earnings {
    background: linear-gradient(135deg, #27ae60, #229954);
    color: white;
}
.table-responsive {
    margin-bottom: 2rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    animation: slideIn 0.8s ease-out;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
}
@keyframes slideIn {
    from { transform: translateX(-50px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
.table {
    margin-bottom: 0;
    background: transparent;
}
.table-striped tbody tr:nth-of-type(odd) {
    background-color: transparent;
}
.table thead th {
    background: rgba(44, 62, 80, 0.1);
    border-bottom: 2px solid rgba(44, 62, 80, 0.3);
    font-weight: 600;
    color: #333;
}
.login-page .table thead th {
    background: rgba(233, 30, 99, 0.1);
    border-bottom: 2px solid rgba(233, 30, 99, 0.3);
}
.table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.table tbody tr:hover {
    background: linear-gradient(90deg, rgba(44, 62, 80, 0.1), rgba(52, 73, 94, 0.1));
    transform: scale(1.01);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.login-page .table tbody tr:hover {
    background: linear-gradient(90deg, rgba(233, 30, 99, 0.1), rgba(156, 39, 176, 0.1));
}
h1 {
    color: #333;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 300;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.15);
    animation: textGlow 3s ease-in-out infinite alternate;
    position: relative;
}
.login-page h1 {
    animation: textGlowPink 3s ease-in-out infinite alternate;
}
h1::after {
    position: absolute;
    top: -10px;
    right: -30px;
    animation: sparkle 2s ease-in-out infinite;
}
.login-page h1::after {
    content: '✨';
}
@keyframes textGlow {
    from { text-shadow: 3px 3px 6px rgba(0,0,0,0.15); }
    to { text-shadow: 3px 3px 6px rgba(0,0,0,0.2), 0 0 20px rgba(44, 62, 80, 0.7), 0 0 30px rgba(52, 73, 94, 0.5); }
}
@keyframes textGlowPink {
    from { text-shadow: 3px 3px 6px rgba(0,0,0,0.15); }
    to { text-shadow: 3px 3px 6px rgba(0,0,0,0.2), 0 0 20px rgba(233, 30, 99, 0.7), 0 0 30px rgba(156, 39, 176, 0.5); }
}
@keyframes sparkle {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.7; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 1; }
}
h2 {
    color: #555;
    border-bottom: 5px solid transparent;
    background: linear-gradient(90deg, #2c3e50, #34495e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    padding-bottom: 15px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    position: relative;
    animation: underlineGrow 1s ease-out;
}
.login-page h2 {
    background: linear-gradient(90deg, #e91e63, #9c27b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
@keyframes underlineGrow {
    from { border-bottom-width: 0; }
    to { border-bottom-width: 5px; }
}
h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 150px;
    height: 5px;
    background: linear-gradient(90deg, #2c3e50, #34495e);
    border-radius: 2px;
    animation: underlineSlide 1s ease-out 0.5s both;
}
.login-page h2::after {
    background: linear-gradient(90deg, #e91e63, #9c27b0);
    animation: underlineSlidePink 1s ease-out 0.5s both;
}
@keyframes underlineSlide {
    from { width: 0; }
    to { width: 150px; }
}
@keyframes underlineSlidePink {
    from { width: 0; }
    to { width: 150px; }
}
.btn-light {
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
    border: 1px solid rgba(255,255,255,0.5);
    color: #333;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.btn-light:hover {
    background: linear-gradient(135deg, rgba(255,255,255,1), rgba(255,255,255,0.9));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
.form-control {
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    background: rgba(255,255,255,0.1);
    color: #333;
}
.form-control:focus {
    background: rgba(255,255,255,0.2);
    border-color: rgba(233, 30, 99, 0.5);
    box-shadow: 0 0 0 0.2rem rgba(233, 30, 99, 0.25);
}
.alert {
    border-radius: 15px;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
}
@media (max-width: 768px) {
    .container {
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 15px;
    }
    .card {
        margin-bottom: 1.5rem;
        border-radius: 20px;
    }
    .card.login-card {
        margin: 1rem;
        border-radius: 20px;
    }
    .card-title {
        font-size: 1.1rem;
    }
    .card-title.login-title {
        font-size: 1.5rem;
    }
    .card-title {
        font-size: 1.1rem;
    }
    .card-text {
        font-size: 0.9rem;
    }
    h1 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    .table-responsive {
        border-radius: 15px;
    }
    .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    .form-control {
        font-size: 0.9rem;
    }
    .navbar-nav .nav-link {
        font-size: 0.9rem;
    }
    .table td, .table th {
        padding: 0.3rem;
        font-size: 0.8rem;
    }
    .table td:last-child .btn {
        display: block;
        width: 100%;
        margin-bottom: 0.25rem;
    }
    .table td:last-child .form-select {
        display: block;
        width: 100%;
        margin-bottom: 0.25rem;
    }
    .table-responsive {
        margin-bottom: 1rem;
    }
}