*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--FONT-UNIVERSAL);
}

@media (max-width: 1199px) or (orientation: portrait) {
    body{
        display: none;
    }
}

:root{
    --BORDER-COLOR: rgb(94, 104, 1);
    --BUTTON-BORDER-COLOR: rgb(0, 0, 0);
    --SOMEHOW-WHITE: rgb(236, 236, 236);
    --SECOND-COLOR: rgb(15, 15, 207);
    --FONT-UNIVERSAL: Agency FB;
}

header{
    height: 10%;
    width: 100%;
    background-color: var(--SECOND-COLOR);
    position: fixed;
    border-bottom: 3px solid var(--BORDER-COLOR);
    display: flex;
    align-items: center;
    padding-left: 3%;
}

header .skname{
    color: var(--SOMEHOW-WHITE);
}

header i{
    border: 1px solid white;
    border-radius: 70%;
    height: 100%;
    background-color: white;
    margin: 2%;
}
header img{
    border-radius: 10px;
    border: 2px solid var(--BUTTON-BORDER-COLOR);
    min-height: 8%;
    max-height: 80%;
    width: 4.7%;
    margin: 2%;
    background-position: center;
}
.container{
    height: 90%;
    width: 100%;
    position: absolute;
    top: 10%;
    background-image: url(../images/logo1.jpg);
    background-size: contain;
    /* background-repeat: no-repeat; */
    background-position: center;
}
.login{
    position: relative;
    top: 3%;
    left: 10%;
    height: 85vh;
    width: 80vw;
    border-radius: 10px;
    box-shadow: 2px 2px 8px gray;
    padding: 1%;
    background: linear-gradient(260deg, rgb(108, 170, 9), rgb(141, 155, 13));
}
.login .size{
    position: absolute;
    left: 2%;
    height: 97%;
    width: 48%;
    bottom: 1.5%;
    background: var(--SECOND-COLOR);
    border-radius: 7px;
}
.login .logo{
    position: absolute;
    width: 45%;
    left: 53%;
    border: 2px solid var(--BORDER-COLOR);
}
form{
    border: 3px solid var(--SOMEHOW-WHITE);
}
.title{
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
    font-weight: bold;
    margin: 2%;
    margin-top: 14%;
    color: var(--SOMEHOW-WHITE);
}
label{
    display: block;
    font-size: 2em;
    font-weight: bold;
    margin: 4% 2% 0 7%;
    color: var(--SOMEHOW-WHITE);
}
#show,#hide{
    height: 37px;
    width: 37px;
    position: absolute;
    top: 32%;
    bottom: 8.3%;
    left: 32dvw;
}
input{
    display: block;
    font-size: 1.8rem;
    font-family: monospace;
    letter-spacing: 0;
    padding: 5px 30px 5px 15px;
    border-radius: 12px;
    border: none;
    margin: 3%;
    width: 90%;
    border: 3px solid var(--BUTTON-BORDER-COLOR);
}
input#otp{
    padding: 5px 15px; 
    margin-bottom: 35px;
}
input:focus{
    outline: none;
}
button{
    margin: 3.6%;
    width: 90%;
    border-radius: 20px;
    border: 2px solid var(--SOMEHOW-WHITE);
    font-size: 1.8rem;
    font-weight: bold;
    height: 50px;
    margin-top: 2%;
    background-color: var(--BUTTON-BORDER-COLOR);
    color: var(--SOMEHOW-WHITE);
}
button#auth{
    margin: 5.6% 3.6% 3.6% 3.6%;
}
#hide{
    display: none;
}

/* #show:hover{
    display: none;
}
#hide:hover{
    display: none;
} */
.login .auth{
    margin-top: 160px;
}

.overlay-style {
    /* This makes it cover the whole screen */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    /* This makes it a bit dark and blurry */
    background-color: rgba(0, 0, 0, 0.9); 
    
    /* This centers the message box */
    display: flex; 
    justify-content: center;
    align-items: center;
    
    /* This makes it sit ON TOP of everything else */
    z-index: 9999; 
    
    /* Start hidden */
    /* display: none;  */
    display: flex;
    color: white;
    text-align: center;
}

    /* The spinning circle animation */
.spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
    width: 70px;
    height: 70px;
    animation: spin 1s linear infinite;
    margin: 0 auto 10px;
}
.use {
    width: 60px;
    height: 60px;
    /* animation: spin 1s linear infinite; */
    margin: -75px auto 10px;
}
@keyframes spin {
    0% { transform: rotate(0deg); border-top: 6px solid #00f2ff;}
    25% { border-top: 6px solid #8c00ff;}
    50% { border-top: 6px solid #f700ff;}
    75% { border-top: 6px solid #ff0055;}
    100% { transform: rotate(360deg); border-top: 6px solid #b3ff00;}
}

svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}

path {
    fill: none;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 0.9;
    filter: drop-shadow(0 0 5px rgba(0, 255, 255, 0.5));
    /* Hint to browser to optimize for shape changes */
    will-change: d; 
}

/* Left side - Cyan/Blue */
.path-left {
    stroke: #9dff00;
    /* Using a custom bezier for an elastic "snap" effect */
    animation: cycle-left 3s cubic-bezier(0.68, -0.6, 0.32, 1.6) infinite;
}

/* Right side - Magenta/Purple */
.path-right {
    stroke: #2020ff;
    animation: cycle-right 3s cubic-bezier(0.68, -0.6, 0.32, 1.6) infinite;
}

/* * ANIMATION CYCLE (6 seconds total)
 * 0% - 25%: Draw Infinity from outer edges
 * 25% - 40%: Pause to let user see Infinity
 * 40% - 60%: Morph to M (The liquid transition)
 * 60% - 85%: Hold M shape
 * 85% - 100%: Fade out
 */

@keyframes cycle-left {
    0% {
        /* Start: Infinity Left Loop (Drawing from outer left) */
        d: path('M 20 60 C 20 20 70 20 100 60 C 70 100 20 100 20 60');
        stroke-dasharray: 260;
        stroke-dashoffset: 260; /* Hidden */
    }
    25% {
        /* Fully drawn Infinity */
        stroke-dashoffset: 30;
        d: path('M 20 60 C 20 20 70 20 100 60 C 70 100 20 100 20 60');
    }
    40% {
        /* Pause before morph */
        d: path('M 20 60 C 20 20 70 20 100 60 C 70 100 20 100 20 60');
    }
    60% {
        /* Morph to M Left Half 
         * The points map as follows:
         * Start: (20,60) -> drops to -> (30,100) [Bottom Left Leg]
         * Curve 1: Top Loop -> straightens to -> Vertical Line Up
         * Curve 2: Bottom Loop -> straightens to -> Diagonal Line Down
         */
        d: path('M 30 100 C 30 75 30 45 30 20 C 55 40 75 60 100 80');
        stroke-dashoffset: 0;
    }
    85% {
        /* Hold M Shape */
        d: path('M 30 100 C 30 75 30 45 30 20 C 55 40 75 60 100 80');
        stroke-dashoffset: 0;
        opacity: 1;
    }
    100% {
        /* Fade Out */
        d: path('M 30 100 C 30 75 30 45 30 20 C 55 40 75 60 100 80');
        stroke-dashoffset: 0;
        /* opacity: 0; */
    }
}

@keyframes cycle-right {
    0% {
        /* Start: Infinity Right Loop (Drawing from outer right) */
        d: path('M 180 60 C 180 20 130 20 100 60 C 130 100 180 100 180 60');
        stroke-dasharray: 560;
        stroke-dashoffset: 560;
    }
    25% {
        stroke-dashoffset: 60;
        d: path('M 180 60 C 180 20 130 20 100 60 C 130 100 180 100 180 60');
    }
    40% {
        d: path('M 180 60 C 180 20 130 20 100 60 C 130 100 180 100 180 60');
    }
    60% {
        /* Morph to M Right Half */
        d: path('M 170 100 C 170 75 170 45 170 20 C 145 40 125 60 100 80');
        stroke-dashoffset: 0;
    }
    85% {
        d: path('M 170 100 C 170 75 170 45 170 20 C 145 40 125 60 100 80');
        stroke-dashoffset: 0;
        opacity: 1;
    }
    100% {
        d: path('M 170 100 C 170 75 170 45 170 20 C 145 40 125 60 100 80');
        stroke-dashoffset: 0;
        /* opacity: 0; */
    }
}

.process {
    margin-top: 20px;
    color: #cfcece;
    font-size: 0.9rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 600;
}

.process::after{
    content: ".";
    animation:  proces 1.5s infinite ease-in-out;
}

@keyframes proces {
    10% {
        content: "."; 
    }
    35% {
        content: ".."; 
    }
    70% {
        content: "...";
    }
    100%{
        content: "";
    }
}

.message-box-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    animation: fadeIn 0.3s;
}
.message-box {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 450px;
    transform: scale(0.9);
    animation: popIn 0.3s forwards;
}

.message-box h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.7rem;
    color: red;
}

.message-box p {
    font-size: 1.6rem;
    color: #000000;
    /* margin-bottom: 1rem; */
    padding: 10px;
}

.message-box button {
    background-color: #f63b3b;
    color: #fff;
    border: none;
    padding: 0.5rem 1rem;
    margin-left: 9px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.message-box button.yes {
    background-color: #60f63b;
    color: black;
}

.message-box button:hover {
    background-color: #eb2525;
}
.message-box button.yes:hover {
    background-color: #53eb25;
}

@keyframes popIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}