﻿body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    height: 100vh;
    overflow: hidden;
}

/* ✅ Floating glowing icons */
.floating-icons i {
    position: absolute;
    color: rgba(255, 255, 255, 0.25);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-25px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* ✅ Glass card */
.login-box {
    width: 380px;
    padding: 30px;
    border-radius: 18px;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 35px rgba(0,0,0,0.3);
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ✅ input effect */
.form-control {
    height: 48px;
    border-radius: 10px;
    background: rgba(255,255,255,0.7);
    border: none;
}

/* ✅ Password toggle */
.eye-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #777;
}

/* ✅ Success Animation */
.success-animation {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, .95);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    animation: fadeIn 0.3s;
    z-index: 9999;
}

.success-check {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 6px solid #28a745;
    position: relative;
    animation: zoomIn 0.6s ease forwards;
}

    .success-check::after {
        content: "";
        position: absolute;
        left: 26px;
        top: 18px;
        width: 18px;
        height: 40px;
        border-right: 6px solid #28a745;
        border-bottom: 6px solid #28a745;
        transform: rotate(45deg);
        animation: checkDraw 0.4s ease 0.4s forwards;
        opacity: 0;
    }

@keyframes zoomIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes checkDraw {
    from {
        opacity: 0;
        transform: scale(0.5) rotate(45deg);
    }

    to {
        opacity: 1;
        transform: scale(1) rotate(45deg);
    }
}

.success-text {
    margin-top: 15px;
    font-size: 22px;
    color: #28a745;
    font-weight: 500;
}
