body {
    margin: 0;
    background: #f8fafc;
    font-family: 'Inter', 'Exo 2', sans-serif;
}

.auth-bg-wrapper {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('/images/bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
}

.auth-bg-wrapper::before,
.auth-bg-wrapper::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
    animation: float 10s infinite ease-in-out alternate;
}

.auth-bg-wrapper::before {
    width: 400px;
    height: 400px;
    background: rgba(249, 115, 22, 0.4);
    top: -100px;
    left: -100px;
}

.auth-bg-wrapper::after {
    width: 300px;
    height: 300px;
    background: rgba(251, 146, 60, 0.4);
    bottom: -50px;
    right: -50px;
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, 50px) scale(1.1);
    }
}

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05), inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    padding: 3rem 2.5rem;
    width: 100%;
    max-width: 450px;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(249, 115, 22, 0.1), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.auth-title {
    font-weight: 800;
    font-size: 1.75rem;
    background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
    text-align: center;
}

.auth-subtitle {
    color: #64748b;
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 2rem;
}

.form-label {
    color: #475569;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.form-control {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(148, 163, 184, 0.3) !important;
    border-radius: 12px !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.95rem !important;
    color: #1e293b !important;
    transition: all 0.2s ease !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02) !important;
}

.input-group .form-control {
    border-radius: 0 !important;
}

.input-group-text {
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(148, 163, 184, 0.3) !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.95rem !important;
    color: #1e293b !important;
    transition: all 0.2s ease !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02) !important;
}

.input-group {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 0 !important;
}

.input-group .input-group-text {
    border-radius: 0 !important;
}

.input-group-merge .form-control {
    border-right: none !important;
    border-top-left-radius: 12px !important;
    border-bottom-left-radius: 12px !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.input-group-merge .input-group-text {
    border-left: none !important;
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-top-right-radius: 12px !important;
    border-bottom-right-radius: 12px !important;
    background: rgba(255, 255, 255, 0.9) !important;
}

.form-control:focus,
.input-group-merge.has-focus .input-group-text {
    border-color: #F97316 !important;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.15) !important;
    background: #fff !important;
}

.btn-auth {
    background: linear-gradient(135deg, #F97316 0%, #FB923C 50%, #EA580C 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 0.85rem;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    margin-top: 1rem;
}

.btn-auth:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(249, 115, 22, 0.4);
    color: #fff;
}

.form-check-input {
    background-color: #fff;
    border-color: rgba(148, 163, 184, 0.4);
    border-radius: 4px;
    margin-top: 0.25em;
}

.form-check-input:checked {
    background-color: #F97316;
    border-color: #F97316;
}

.auth-link {
    color: #F97316;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.9rem;
}

.auth-link:hover {
    color: #EA580C;
}

.auth-logo-box {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.auth-logo-box img {
    width: 64px;
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(249, 115, 22, 0.3));
    animation: pulseLogo 3s infinite ease-in-out alternate;
}

@keyframes pulseLogo {
    from {
        transform: scale(1);
        filter: drop-shadow(0 4px 6px rgba(249, 115, 22, 0.3));
    }

    to {
        transform: scale(1.05);
        filter: drop-shadow(0 8px 12px rgba(249, 115, 22, 0.5));
    }
}
