.toggle-password {
    cursor: pointer;
    font-size: 1.2rem;
    color: #00ffe0;
    user-select: none;
}

.toggle-password:hover {
    color: #00ffff;
    transform: scale(1.2);
}

.custom-alert {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 12px;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 2;
    animation: fadeIn 0.8s ease;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.custom-alert.success {
    color: #00ffcc;
    background: rgba(0, 255, 204, 0.1);
    border: 2px solid #00ffcc;
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.5);
}

.custom-alert.error {
    color: #ff0066;
    background: rgba(255, 0, 102, 0.1);
    border: 2px solid #ff0066;
    box-shadow: 0 0 20px rgba(255, 0, 102, 0.5);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body {
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    color: #fff;
    font-family: 'Roboto', sans-serif;
    max-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    /* khĂ´ng kĂ©o dĂ i form */
    padding-top: 100px;
    /* cĂ¡ch top 50px */
}



.auth-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.15) 0%, transparent 60%);
    animation: rotate 6s linear infinite;
    z-index: 1;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.auth-box * {
    z-index: 2;
    position: relative;
}

.auth-box h2 {
    color: #00ffe0;
    margin-bottom: 25px;
    text-shadow: 0 0 10px #00ffe0;
}

.nav-tabs .nav-link {
    color: #bbb;
    background: none;
    border: none;
    font-weight: bold;
    transition: 0.3s;
}

.nav-tabs .nav-link.active {
    color: #00ffe0;
    border-bottom: 2px solid #00ffe0;
}

.form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.5);
    color: #fff;
    border-radius: 8px;
}

.form-control:focus {
    border-color: #00ffe0;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.15);
}

.btn-primary,
.btn-success,
.btn-warning {
    font-weight: bold;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
    transition: 0.3s;
}

.btn-primary:hover,
.btn-success:hover,
.btn-warning:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
}

.form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.5);
    /* Chá»¯ khi nháº­p sáº½ luĂ´n mĂ u tráº¯ng */
    border-radius: 8px;
}

#snow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /* cho phĂ©p báº¥m xuyĂªn qua */
    z-index: 9999;
}

.auth-box {
    width: 100%;
    max-width: 420px;
    background: rgba(20, 20, 40, 0.9);
    border: 4px solid;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.6);
    animation: ledBorder 3s linear infinite;
    position: relative;
    overflow: hidden;
}

@keyframes ledBorder {
    0% {
        border-color: #ff0000;
        box-shadow: 0 0 20px #ff0000;
    }

    25% {
        border-color: #00ff00;
        box-shadow: 0 0 20px #00ff00;
    }

    50% {
        border-color: #0000ff;
        box-shadow: 0 0 20px #0000ff;
    }

    75% {
        border-color: #ffff00;
        box-shadow: 0 0 20px #ffff00;
    }

    100% {
        border-color: #ff0000;
        box-shadow: 0 0 20px #ff0000;
    }
}