* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background: linear-gradient(
        to bottom,
        #014421, /* Dark forest green */
        #0a5c36, #1a7431, #2d8b2a, #3fa323, /* Mid greens */
        #5fbb48, #7fd36d, #9feb92, #bfffb7 /* Light greens */
    );
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    background: #fff;
    width: 90%;
    max-width: 420px;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    border: 1px solid #f0f0f0;
}

/* Gold ring animation - starts 50% to the right */
.container::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 60%; /* Starts further right */
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #d4af37, #f4d03f, #d4af37, transparent);
    transform: translateX(-50%);
    animation: goldRing 3s forwards cubic-bezier(0.65, 0, 0.35, 1);
    z-index: -1;
}

@keyframes goldRing {
    0% {
        width: 0;
        height: 30px;
        bottom: -2px;
    }
    50% {
        width: 100%;
        height: 3px;
        bottom: -2px;
    }
    100% {
        width: calc(100% + 4px);
        height: calc(100% + 4px);
        bottom: -2px;
        left: -2px;
        border: 3px solid transparent;
        border-image: linear-gradient(
            90deg,
            transparent,
            #d4af37,
            #f4d03f,
            #d4af37,
            transparent
        );
        border-image-slice: 1;
        box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
    }
}

/* Modern login button */
.btn {
    width: 100%;
    padding: 17px;
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    background-color: rgba(255,255,255,0.1);
    backdrop-filter: blur(5px);
}

.btn:hover {
    background-color: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

/* Rest of your styles remain unchanged */
.form-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #333;
}

.input-group {
    margin-bottom: 1.75rem;
    position: relative;
}

input {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}
