body.login {
    background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    color: #333;
    overflow: hidden;
}

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

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

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

.login_wrapper {
    max-width: 420px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding: 20px;
    perspective: 1000px;
}

/* Floating Abstract Shapes */
.shape {
    position: absolute;
    filter: blur(40px);
    z-index: -1;
    border-radius: 50%;
    animation: float 10s infinite;
}

.shape-1 {
    width: 250px;
    height: 250px;
    background: rgba(0, 210, 255, 0.4);
    top: -50px;
    left: -80px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(58, 123, 213, 0.3);
    bottom: -80px;
    right: -100px;
    animation-delay: -5s;
    animation-duration: 12s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

.form-content {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform-style: preserve-3d;
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    transform: translateY(40px);
}

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

.form-content h3 {
    font-weight: 700;
    font-size: 32px;
    margin-bottom: 10px;
    color: #ffffff;
    text-align: center;
    letter-spacing: -0.5px;
    animation: fadeIn 0.8s ease forwards 0.3s;
    opacity: 0;
}

.form-content p.subtitle {
    text-align: center;
    color: #b0c4de;
    margin-bottom: 35px;
    font-size: 15px;
    animation: fadeIn 0.8s ease forwards 0.4s;
    opacity: 0;
}

.form-group {
    position: relative;
    margin-bottom: 25px;
    animation: fadeIn 0.8s ease forwards 0.5s;
    opacity: 0;
}

.form-group:nth-child(3) {
    animation-delay: 0.6s;
}

.form-group:nth-child(4) {
    animation-delay: 0.7s;
}

.form-control {
    height: 56px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px 20px;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
    width: 100%;
    box-sizing: border-box;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
    transition: opacity 0.3s ease;
}

.form-control:focus {
    border-color: #00d2ff;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 4px rgba(0, 210, 255, 0.1);
    outline: none;
    transform: translateY(-2px);
}

.form-control:focus::placeholder {
    opacity: 0;
}

/* Input Icon Animation */
.input-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #b0c4de;
    transition: color 0.3s ease;
}

.form-control:focus+.input-icon {
    color: #00d2ff;
}

.btn-primary {
    position: relative;
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    border: none;
    border-radius: 12px;
    height: 56px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 15px;
    box-shadow: 0 10px 20px rgba(0, 210, 255, 0.2);
    letter-spacing: 0.5px;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3a7bd5 0%, #00d2ff 100%);
    z-index: -1;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0, 210, 255, 0.3);
}

.btn-primary:active {
    transform: translateY(1px);
    box-shadow: 0 5px 15px rgba(0, 210, 255, 0.2);
}

.reset_pass {
    display: inline-block;
    text-align: center;
    width: 100%;
    margin-top: 25px;
    color: #b0c4de;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: fadeIn 0.8s ease forwards 0.8s;
    opacity: 0;
}

.reset_pass:hover {
    color: #00d2ff;
    text-decoration: none;
    transform: translateY(-1px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.alert-danger {
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid rgba(255, 99, 132, 0.3);
    background-color: rgba(255, 99, 132, 0.1);
    color: #ffb3b3;
    animation: shake 0.5s cubic-bezier(.36, .07, .19, .97) both;
    padding: 12px 15px;
    margin-bottom: 20px;
}

@keyframes shake {

    10%,
    90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%,
    80% {
        transform: translate3d(2px, 0, 0);
    }

    30%,
    50%,
    70% {
        transform: translate3d(-4px, 0, 0);
    }

    40%,
    60% {
        transform: translate3d(4px, 0, 0);
    }
}