/* ----- General Reset ----- */
/* body {
    font-family: 'Inter', sans-serif;
    background: #0a0706;
    color: #f5f1e8;
    height:100vh;
    overflow:hidden;
    position:relative;
} */

/* ----- Animated Gradient Background ----- */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(45deg,#8b6914,#C19D60,#e6c078,#d4af37); */
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: -2;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* ----- Floating Shapes ----- */
.shape {
    position: absolute;
    opacity: 0.15;
    animation: float 20s infinite linear;
}

.shape:nth-child(1) {
    top: 20%;
    left: 10%;
    width: 80px;
    height: 80px;
    background: #d4af37;
    border-radius: 50%;
}

.shape:nth-child(2) {
    top: 60%;
    left: 80%;
    width: 60px;
    height: 60px;
    background: #C19D60;
    transform: rotate(45deg);
}

.shape:nth-child(3) {
    top: 10%;
    left: 70%;
    width: 100px;
    height: 100px;
    border: 3px solid #e6c078;
    border-radius: 50%;
}

.shape:nth-child(4) {
    top: 70%;
    left: 20%;
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid #b8941f;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.15;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        transform: translateY(-20px) rotate(360deg);
        opacity: 0.15;
    }
}

/* ----- Glass Overlay ----- */
.glass-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 7, 6, 0.6);
    backdrop-filter: blur(15px);
    z-index: -1;
}

.singUp-area {
    background-color: #fff !important;
}

/* ----- Container ----- */
.container1 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    z-index: 1;
    background-color: #fff;
}

/* ----- Login Card ----- */
.login-card {
    /* background: rgba(180, 136, 61, 0.9); */
    backdrop-filter: blur(25px);
    border: 1px solid rgba(193, 157, 96, 0.3);
    border-radius: 24px;
    padding: 60px 50px;
    width: 100%;
    max-width: 450px;
    /* box-shadow: 0 25px 50px rgba(139, 105, 20, 0.4); */
    position: relative;
    overflow: hidden;
    transform: scale(0.95);
    animation: slideIn 0.8s ease-out forwards;
}

@keyframes slideIn {
    to {
        transform: scale(1);
    }
}

/* ----- Decorative Gradients ----- */
.login-card::before, .login-card::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    z-index: -1;
}

.login-card::before {
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(45deg, rgba(212, 175, 55, 0.3), transparent);
    animation: rotate 10s linear infinite; */
}

.login-card::after {
    bottom: -50%;
    left: -50%;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(45deg, rgba(230, 192, 120, 0.3), transparent);
    animation: rotate 15s linear infinite reverse; */
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* ----- Header ----- */
.login-header {
    text-align: center;
    margin-bottom: 50px;
}

.login-header h1 {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, #b8860b, #8b6914, #c19d60);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.5));
    }

    to {
        filter: drop-shadow(0 0 30px rgba(230, 192, 120, 0.5));
    }
}

.login-header p {
    color: rgba(245, 241, 232, 0.7);
    font-size: 16px;
    font-weight: 400;
}

/* ----- Form ----- */
.form-group {
    position: relative;
    margin-bottom: 30px;
}

.form-input {
    width: 100%;
    height: 60px;
    background: rgba(245, 241, 232, 0.08);
    border: 2px solid rgba(193, 157, 96, 0.3);
    border-radius: 16px;
    padding: 0 20px;
    font-size: 16px;
    font-weight: 500;
    color: #f5f1e8;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.form-input::placeholder {
    color: rgba(5, 5, 5, 1);
}

.form-input:focus {
    outline: none;
    border-color: #d4af37;
    background: rgba(245, 241, 232, 0.12);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
    animation: inputGlow 2s ease-in-out infinite alternate;
}

@keyframes inputGlow {
    from {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    }

    to {
        box-shadow: 0 0 40px rgba(230, 192, 120, 0.5);
    }
}

.form-label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(245, 241, 232, 0.6);
    font-size: 16px;
    font-weight: 500;
    pointer-events: none;
    transition: all 0.3s ease;
    background: transparent;
    padding: 0 8px;
}

.form-input:focus+.form-label,
.form-input+.form-label {
    top: 0;
    font-size: 12px;
    color: #d4af37;
    background: rgba(10, 7, 6, 0.9);
    border-radius: 8px;
}

/* ----- Button ----- */
.login-btn {
    width: 100%;
    height: 60px;
    background: linear-gradient(135deg, #d4af37, #C19D60, #e6c078);
    background-size: 300% 300%;
    border: none;
    border-radius: 16px;
    color: #0a0706;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
    animation: gradientMove 3s ease infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.5);
    color: #f5f1e8;
}

.login-btn:active {
    transform: translateY(0);
}

/* ----- Options ----- */
.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(245, 241, 232, 0.7);
    font-size: 14px;
}

.remember-me input {
    accent-color: #d4af37;
}

.forgot-password {
    color: #e6c078;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.forgot-password:hover {
    color: #d4af37;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* ----- Distiller / User Buttons ----- */
.text-center .registerLink {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    background: rgba(193, 157, 96, 0.2);
    color: #f5f1e8;
    text-decoration: none;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.text-center .registerLink.active, .text-center .registerLink:hover {
    background: #d4af37;
    color: #0a0706;
}

/* ----- Signup link ----- */
.signup-link {
    text-align: center;
    margin-top: 40px;
    color: rgba(245, 241, 232, 0.7);
    font-size: 14px;
}

.signup-link a {
    color: #e6c078;
    text-decoration: none;
    font-weight: 600;
}

.signup-link a:hover {
    color: #d4af37;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

/* ----- Particles ----- */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(193, 157, 96, 0.8);
    border-radius: 50%;
    animation: particleFloat 15s infinite linear;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        transform: translateY(- 100vh) translateX(100px);
        opacity: 0;
    }
}