body {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.login-container {
    max-width: 400px;
    width: 100%;
}

.login-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.login-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.login-header h2 {
    margin: 0;
    font-weight: 300;
    font-size: 1.8rem;
}

.login-header p {
    margin: 0.5rem 0 0 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

.login-body {
    padding: 2rem;
}

.form-floating {
    margin-bottom: 1.5rem;
}

.form-floating input {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.form-floating input:focus {
    border-color: #14b8a6;
    box-shadow: 0 0 0 0.2rem rgba(20, 184, 166, 0.25);
}

.btn-login {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    border: none;
    border-radius: 10px;
    padding: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(20, 184, 166, 0.4);
}

.btn-login:disabled {
    transform: none;
    box-shadow: none;
    opacity: 0.6;
}

.login-footer {
    text-align: center;
    padding: 1rem 2rem 2rem;
    color: #6c757d;
    font-size: 0.85rem;
}

.loading-spinner {
    display: none;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    z-index: 5;
}

.password-toggle:hover {
    color: #495057;
}

.form-floating {
    position: relative;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .login-container {
        margin: 1rem;
    }

    .login-header {
        padding: 1.5rem;
    }

    .login-header h2 {
        font-size: 1.5rem;
    }

    .login-body {
        padding: 1.5rem;
    }
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Cookie Consent Styles */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(33, 37, 41, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 1rem;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 250px;
}

.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

.cookie-text a {
    color: #14b8a6;
    text-decoration: underline;
}

.cookie-text a:hover {
    color: #0d9488;
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.btn-cookie {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-cookie-accept {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    color: white;
}

.btn-cookie-accept:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(20, 184, 166, 0.3);
}

.btn-cookie-decline {
    background: transparent;
    color: #adb5bd;
    border: 1px solid #495057;
}

.btn-cookie-decline:hover {
    background: #495057;
    color: white;
}

.btn-cookie-settings {
    background: transparent;
    color: #14b8a6;
    border: 1px solid #14b8a6;
}

.btn-cookie-settings:hover {
    background: #14b8a6;
    color: white;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .cookie-actions {
        justify-content: center;
    }

    .btn-cookie {
        flex: 1;
        min-width: 120px;
    }
}

@media (max-width: 480px) {
    .cookie-actions {
        flex-direction: column;
    }

    .btn-cookie {
        width: 100%;
    }
}

/* Language Selector */
.language-selector-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.btn-language {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 10px;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1e3a8a;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.btn-language:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    color: #1e3a8a;
}

.btn-language:focus,
.btn-language:active {
    background: white !important;
    color: #1e3a8a !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15) !important;
}

.dropdown-menu {
    border-radius: 10px;
    border: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    padding: 0.5rem;
    min-width: 200px;
}

.dropdown-item {
    border-radius: 8px;
    padding: 0.6rem 1rem;
    margin-bottom: 0.25rem;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
}

.dropdown-item.active {
    background: linear-gradient(135deg, #14b8a6 0%, #0d9488 100%);
    color: white;
    font-weight: 500;
}

.dropdown-item:last-child {
    margin-bottom: 0;
}

/* Mobile adjustments for language selector */
@media (max-width: 768px) {
    .language-selector-container {
        top: 15px;
        right: 15px;
    }

    .btn-language {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    .dropdown-menu {
        min-width: 180px;
    }
}