/**
* Template Name: NiceAdmin - v2.5.0
* Template URL: https://bootstrapmade.com/nice-admin-bootstrap-admin-html-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/
@import url('https://fonts.googleapis.com/scc2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');
/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
*
html {
    height: 100%;
    }
    body {
    margin:0;
    padding:0;
    font-family: sans-serif;
    background: linear-gradient(#141e30, #243b55);
    }
    .login-box {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 400px;
    padding: 40px;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,.5);
    box-sizing: border-box;
    box-shadow: 0 15px 25px rgba(0,0,0,.6);
    border-radius: 10px;
    }
    .login-box h2 {
    margin: 0 0 10px;
    padding: 0;
    color: #03e9f4;
    text-align: center;
    }
    .login-box h4 {    
    font-size: 20px;
    align-content: center;
    text-align: center;
    color: #03e9f4;margin-top: 10px;
    margin-bottom: 10px;    
    background: transparent;
    }

    .login-box .user-box {
    position: relative;
    }
    .login-box .user-box input {
    width: 100%;
    padding: 10px 0;
    font-size: 16px;
    color: #fff;
    margin-bottom: 30px;
    border: none;
    border-bottom: 1px solid #fff;
    outline: none;
    background: transparent;
    }
    .login-box .user-box label {
    position: absolute;
    top:0;
    left: 0;
    padding: 10px 0;
    font-size: 16px;
    color: #fff;
    pointer-events: none;
    transition: .5s;
    }
    .login-box .user-box input:focus ~ label,
    .login-box .user-box input:valid ~ label {
    top: -20px;
    left: 0;
    color: #03e9f4;
    font-size: 12px;
    }
    .login-box form a {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    color: #03e9f4;
    font-size: 16px;
    text-decoration: none;
    text-transform: uppercase;
    overflow: hidden;
    transition: .5s;
    margin-top: 40px;
    letter-spacing: 4px
    }
    .login-box a:hover {
    background: #03e9f4;
    color: #fff;
    border-radius: 5px;
    box-shadow: 0 0 5px #03e9f4,
    0 0 25px #03e9f4,
    0 0 50px #03e9f4,
    0 0 100px #03e9f4;
    }
    .login-box a span {
    position: absolute;
    display: block;
    }
    .login-box a span:nth-child(1) {
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #03e9f4);
    animation: btn-anim1 1s linear infinite;
    }
    @keyframes btn-anim1 {
    0% {
    left: -100%;
    }
    50%,100% {
    left: 100%;
    }
    }
    .login-box a span:nth-child(2) {
    top: -100%;
    right: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #03e9f4);
    animation: btn-anim2 1s linear infinite;
    animation-delay: .25s
    }
    @keyframes btn-anim2 {
    0% {
    top: -100%;
    }
    50%,100% {
    top: 100%;
    }
    }
    .login-box a span:nth-child(3) {
    bottom: 0;
    right: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(270deg, transparent, #1caeb6);
    animation: btn-anim3 1s linear infinite;
    animation-delay: .5s
    }
    @keyframes btn-anim3 {
    0% {
    right: -100%;
    }
    50%,100% {
    right: 100%;
    }
    }
    .login-box a span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(360deg, transparent, #03e9f4);
    animation: btn-anim4 1s linear infinite;
    animation-delay: .75s
    }
    .login-box a span:nth-child(4) {
    bottom: -100%;
    left: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(360deg, transparent, #03e9f4);
    animation: btn-anim4 1s linear infinite;
    animation-delay: .75s
    }
    .login-box a button {
        bottom: -100%;
        left: 0;
        width: 100%;
        height: 100%;
        background: none;
        animation: btn-anim4 1s linear infinite;
        border: none; 
        color: #03e9f4;
        cursor: pointer;      
        outline: none;
        animation-delay: .75s
        }
    @keyframes btn-anim4 {
    0% {
    bottom: -100%;
    }
    50%,100% {
    bottom: 100%;
    }
    }
    .whatsapp-link {
        position: absolute;
        bottom: 20px;
        right: 20px;
        background-color: #25D366;
        color: white;
        padding: 10px 15px;
        border-radius: 50%;
        text-decoration: none;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .whatsapp-link:hover {
        transform: scale(1.1);
        box-shadow: 0px 0px 15px #25D366, 0px 0px 30px #25D366;
    }

    .whatsapp-link i {
        font-size: 24px;
    }

    /* Custom Popup Styles */
    .popup {
        display: none;
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: white;
        padding: 30px;
        box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.2);
        border-radius: 15px;
        text-align: center;
        z-index: 1000;
        animation: fadeIn 0.5s ease;
        width: 90%;
        max-width: 400px;
    }

    .popup h3 {
        margin-bottom: 20px;
        font-size: 24px;
        color: #333;
    }

    .popup p {
        font-size: 16px;
        color: #666;
        margin-bottom: 20px;
    }

    .popup button {
        margin: 10px;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        font-size: 16px;
        transition: background-color 0.3s ease, box-shadow 0.3s ease;
    }

    .popup button.ok {
        background-color: #4CAF50;
        color: white;
    }

    .popup button.ok:hover {
        background-color: #45a049;
        box-shadow: 0px 0px 15px #4CAF50, 0px 0px 30px #4CAF50;
    }

    .popup button.wa {
        background-color: #25D366;
        color: white;
    }

    .popup button.wa:hover {
        background-color: #1da851;
        box-shadow: 0px 0px 15px #25D366, 0px 0px 30px #25D366;
    }

    .overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999;
        animation: fadeIn 0.5s ease;
    }

    /* Animations */
    @keyframes fadeIn {
        from {
            opacity: 0;
        }
        to {
            opacity: 1;
        }
    }

    @keyframes slideIn {
        from {
            transform: translate(-50%, -60%);
            opacity: 0;
        }
        to {
            transform: translate(-50%, -50%);
            opacity: 1;
        }
    }

    .popup {
        animation: slideIn 0.5s ease;
    }

    /* Responsive Styles */
    @media (max-width: 600px) {
        .popup {
            padding: 20px;
            width: 90%;
            max-width: 300px;
        }

        .popup h3 {
            font-size: 20px;
        }

        .popup p {
            font-size: 14px;
        }

        .popup button {
            padding: 8px 16px;
            font-size: 14px;
        }

        .whatsapp-link {
            bottom: 15px;
            right: 15px;
            padding: 8px 12px;
        }

        .whatsapp-link i {
            font-size: 20px;
        }
    }