/* =========================================
   RESET
========================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#eef2f7;
    font-family:Arial, Helvetica, sans-serif;
    color:#222;
}

/* =========================================
   CONTAINER
========================================= */

.container{
    width:100%;
    padding:30px 15px;
    display:flex;
    justify-content:center;
    align-items:center;
}

/* =========================================
   CARD
========================================= */

.card{
    width:100%;
    max-width:1100px;
    background:#fff;
    border-radius:20px;
    padding:35px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

/* =========================================
   TITLE
========================================= */

.card h2{
    font-size:25px;
    color:#003366;
    margin-bottom:10px;
    font-weight:700;
}

/* =========================================
   INFO BOX
========================================= */

.info-box{
    background:#f7f9fc;

    border:1px solid #dbe4f2;

    border-radius:16px;

    padding:18px 20px;

    margin-bottom:20px;

    display:grid;

    /* TWO COLUMN 

    grid-template-columns:repeat(2,1fr);*/
	grid-template-columns: 40% 60%;
    gap:2px 5px;
}

/* =========================================
   ITEMS
========================================= */

.info-box span{
    display:flex;
    align-items:center;

    font-size:17px;

    line-height:1.6;

    word-break:break-word;
}

/* =========================================
   LABEL
========================================= */

.info-box strong{
    color:#000;
    font-weight:700;
    margin-right:8px;
}

/* =========================================
   MOBILE
========================================= */

@media(max-width:768px){

   .info-box span{
        font-size:15px;
    }

}
/* =========================================
   FORM GROUP
========================================= */

.form-group{
    margin-bottom:25px;
}

.form-group label{
    display:block;
    margin-bottom:12px;
    font-size:22px;
    font-weight:700;
}

/* =========================================
   INPUTS
========================================= */

input,
select{
    width:100%;
    padding:10px 12px;
    border:1px solid #d0d7e2;
    border-radius:14px;
    font-size:14px;
    background:#fff;
    transition:.3s;
}

input:focus,
select:focus{
    outline:none;
    border-color:#0055aa;
    box-shadow:0 0 0 4px rgba(0,85,170,0.12);
}

/* =========================================
   CHANGE GRID
========================================= */

.change-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin-top:20px;
    margin-bottom:25px;
}

/* =========================================
   CHANGE CARD
========================================= */

.change-card{
    background:#ececf8;
    border:1px solid #902502;
    border-radius:16px;
    padding:10px 12px;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:18px;
    cursor:pointer;
    transition:.3s;
    text-align:center;
    min-height:75px;
}

.change-card:hover{
    border-color:#0055aa;
    transform:translateY(-3px);
    box-shadow:0 8px 20px rgba(0,85,170,0.08);
}

.change-card input[type="checkbox"]{
    width:18px;
    height:18px;
    cursor:pointer;
}

.change-card span{
    font-size:14px;
    font-weight:700;
    line-height:1.4;
}

/* =========================================
   DYNAMIC GRID
========================================= */

.dynamic-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

/* =========================================
   DYNAMIC BOX
========================================= */

.dynamic-box{
    display:none;
    background:#f4f7ff;
    border:1px solid #dbe5f4;
    border-radius:18px;
    padding:22px;
}

.dynamic-box label{
    display:block;
    margin-bottom:10px;
    font-size:16px;
    font-weight:700;
}

.dynamic-box input{
    margin-bottom:18px;
}

/* =========================================
   DECLARATION
========================================= */

.checkbox-group{
    margin-top:30px;
    display:flex;
    align-items:flex-start;
    gap:12px;
    font-size:18px;
    line-height:1.6;
}

.checkbox-group input{
    width:20px;
    height:20px;
    margin-top:4px;
}

/* =========================================
   BUTTON
========================================= */

button{
    margin-top:25px;
    background:linear-gradient(90deg,#003366,#0055aa);
    color:#fff;
    border:none;
    border-radius:16px;
    padding:10px;
    font-size:22px;
    font-weight:700;
    cursor:pointer;
    transition:.3s;
	margin:0px auto;
	display:flex;
}

button:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 20px rgba(0,85,170,0.20);
}

/* =========================================
   FILE INPUT
========================================= */

input[type="file"]{
    background:#fff;
    padding:14px;
}

/* =========================================
   TABLET
========================================= */

  /* =====================================
           SUCCESS WRAPPER
        ===================================== */

        .success-wrapper{
            width:100%;
            max-width:700px;
            padding:20px;
        }

        /* =====================================
           SUCCESS CARD
        ===================================== */

        .success-card{
            position:relative;
            background:#ffffff;
            border-radius:28px;
            padding:60px 45px;
            text-align:center;

            box-shadow:
                0 20px 50px rgba(0,0,0,0.10),
                0 5px 15px rgba(0,0,0,0.05);

            overflow:hidden;

            animation:fadeUp .6s ease;
        }

        .success-card::before{
            content:"";
            position:absolute;
            top:0;
            left:0;
            width:100%;
            height:8px;

            background:
                linear-gradient(
                    90deg,
                    #003366,
                    #0055aa,
                    #0077ff
                );
        }

        /* =====================================
           SUCCESS ICON
        ===================================== */

        .success-icon{
            width:110px;
            height:110px;
            margin:0 auto 30px;

            border-radius:50%;

            background:
                linear-gradient(
                    135deg,
                    #00b894,
                    #00d084
                );

            display:flex;
            align-items:center;
            justify-content:center;

            box-shadow:
                0 15px 35px rgba(0,208,132,0.30);
        }

        .success-icon svg{
            width:55px;
            height:55px;
            fill:#fff;
        }

        /* =====================================
           TEXT
        ===================================== */

        .success-title{
            font-size:48px;
            color:#003366;
            font-weight:800;
            margin-bottom:18px;
            line-height:1.2;
        }

        .success-message{
            font-size:20px;
            color:#555;
            line-height:1.7;
            margin-bottom:40px;
        }

        /* =====================================
           BUTTONS
        ===================================== */

        .button-group{
            display:flex;
            justify-content:center;
            gap:20px;
            flex-wrap:wrap;
        }

        .success-btn{
            min-width:220px;
            padding:18px 25px;
            border-radius:16px;
            text-decoration:none;
            font-size:18px;
            font-weight:700;
            transition:.3s ease;
        }

        .logout-btn-modern{
            background:
                linear-gradient(
                    90deg,
                    #003366,
                    #0055aa
                );

            color:#fff;
			text-align:center;
            box-shadow:
                0 10px 20px rgba(0,85,170,0.25);
        }

        .logout-btn-modern:hover{
            transform:translateY(-3px);
            box-shadow:
                0 18px 35px rgba(0,85,170,0.35);
        }

        .home-btn{
            background:#eef4ff;
            color:#003366;
            border:2px solid #d6e4ff;
        }

        .home-btn:hover{
            background:#dfeaff;
            transform:translateY(-3px);
        }

        /* =====================================
           ANIMATION
        ===================================== */

        @keyframes fadeUp{

            from{
                opacity:0;
                transform:translateY(40px);
            }

            to{
                opacity:1;
                transform:translateY(0);
            }

        }

        /* =====================================
           MOBILE
        ===================================== */

        @media(max-width:768px){

            .success-card{
                padding:45px 25px;
                border-radius:22px;
            }

            .success-title{
                font-size:34px;
            }

            .success-message{
                font-size:17px;
            }

            .success-icon{
                width:90px;
                height:90px;
            }

            .success-icon svg{
                width:45px;
                height:45px;
            }

            .success-btn{
                width:100%;
                min-width:100%;
            }

        }

        @media(max-width:480px){

            .success-title{
                font-size:28px;
            }

            .success-message{
                font-size:15px;
            }

        }


@media(max-width:992px){

    .change-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .dynamic-grid{
        grid-template-columns:1fr;
    }

    .info-box{
        grid-template-columns:repeat(2,1fr);
    }

}

/* =========================================
   MOBILE
========================================= */

@media(max-width:600px){

    .card{
        padding:20px;
        border-radius:16px;
    }

    .card h2{
        font-size:28px;
        line-height:1.4;
    }

    .info-box{
        grid-template-columns:1fr;
        padding:18px;
        gap:12px;
    }

    .info-box p{
        font-size:16px;
    }

    .form-group label{
        font-size:18px;
    }

    .change-grid{
        grid-template-columns:1fr;
        gap:15px;
    }

    .change-card{
        min-height:auto;
        padding:18px;
    }

    .change-card span{
        font-size:16px;
    }

    .dynamic-box{
        padding:18px;
    }

    .checkbox-group{
        font-size:15px;
    }

    button{
        font-size:18px;
        padding:16px;
    }

}

/* =========================================
   LOGIN PAGE
========================================= */

.login-page{
    background:url(./bgs.jpg) no-repeat center center;
}

/* =========================================
   LOGIN WRAPPER
========================================= */

.login-wrapper{
    width:100%;
    max-width:1000px;
    margin:auto;
    padding:30px 20px;
}

/* =========================================
   LOGIN CARD
========================================= */

.login-card-modern{
    background:#fff;
    border-radius:30px;
    overflow:hidden;

    display:grid;
    grid-template-columns:1fr 1fr;

    box-shadow:
        0 20px 40px rgba(0,0,0,0.08);

    min-height:560px;
}

/* =========================================
   LEFT PANEL
========================================= */

.login-left-panel{
    /*background:linear-gradient(135deg, #003f86 0%,#0a4f99 100%);*/
	background:linear-gradient(135deg, #0c1c40 0%, #122fa1 100% 100%);
    position:relative;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:40px;
    overflow:hidden;
}

.login-left-panel::before{
    content:"";
    position:absolute;
    width:280px;
    height:280px;
    background:rgba(255,255,255,0.08);
    border-radius:50%;
    top:-80px;
    right:-80px;
}

.login-left-panel::after{
    content:"";
    position:absolute;
    width:160px;
    height:160px;
    background:rgba(255,255,255,0.08);
    border-radius:50%;
    bottom:-60px;
    left:-60px;
}
.login-left-panel img{margin:1rem auto; display:flex;}
/* =========================================
   LEFT CONTENT
========================================= */

.login-left-content{
    position:relative;
    z-index:2;
    color:#fff;
}

.login-left-content h1{
    font-size:30px;
    line-height:1.1;
    font-weight:800;
    margin-bottom:15px;
	margin-top:15px;
	text-align:center;
}

.login-left-content p{
    font-size:20px;
    line-height:1.8;
    opacity:.95;
}

/* =========================================
   RIGHT PANEL
========================================= */

.login-right-panel{
    display:flex;
    align-items:center;
    justify-content:center;
    padding:50px;
}

/* =========================================
   FORM AREA
========================================= */

.login-form-area{
    width:100%;
    max-width:420px;
}

.login-form-area h2{
    font-size:25px;
    color:#003366;
    margin-bottom:15px;
    font-weight:800;
}

.login-desc{
    font-size:18px;
    color:#666;
    margin-bottom:35px;
    line-height:1.7;
}

/* =========================================
   FORM GROUP
========================================= */

.login-form-area .form-group{
    margin-bottom:10px;
}

.login-form-area .form-group label{
    display:block;
    margin-bottom:12px;
    font-size:18px;
    font-weight:700;
    color:#111;
}

/* =========================================
   INPUTS
========================================= */

.login-form-area input{
    width:100%;
    
    border:1px solid #d5ddeb;

    border-radius:18px;

    background:#f8fbff;

    font-size:14px;

    transition:.3s;
}

.login-form-area input:focus{
    outline:none;

    border-color:#0055aa;

    background:#fff;

    box-shadow:
        0 0 0 4px rgba(0,85,170,0.12);
}

.login-form-area .errors{
    background: #ea2a2a;
    padding: 10px;
    margin: 10px 0px;
    border-radius: 30px;
    color: #fff;
}
/* =========================================
   CAPTCHA AREA
========================================= */

.captcha-area{
    margin-top:10px;
    margin-bottom:25px;
}

.captcha-box-modern{
    width:160px;
    height:75px;

    background:#f4f7ff;

    border:1px solid #d8e3ff;

    border-radius:18px;

    display:flex;
    align-items:center;
    justify-content:center;

    margin-bottom:20px;
}

.captcha-box-modern img{ max-width:100%;}
#captchaImage{border: 2px solid #d5ddeb; border-radius: 30px;}
/* =========================================
   REFRESH BUTTON
========================================= */

.refresh-btn-modern{
    width:100%;

    border:none;

    background:#eef3ff;

    color:#003366;

    border-radius:14px;

    padding:16px;

    font-size:15px;
    font-weight:700;

    cursor:pointer;

    transition:.3s;
}

.refresh-btn-modern:hover{
    background:#dce8ff;
}

/* =========================================
   LOGIN BUTTON
========================================= */

.login-btn-modern{

    border:none;

    border-radius:18px;

    background:
        linear-gradient(
            90deg,
            #003366,
            #0055aa
        );

    color:#fff;

    font-size:18px;
    font-weight:700;
	padding:10px;

    cursor:pointer;

    transition:.3s;

    box-shadow:
        0 10px 20px rgba(0,85,170,0.20);
}

.login-btn-modern:hover{
    transform:translateY(-2px);

    box-shadow:
        0 16px 30px rgba(0,85,170,0.30);
}


#gn{color: #fff;background: green;padding: 0px 10px;border-radius: 10px;font-weight: 700;}
#rd{color: #fff;background: red;padding: 0px 10px;border-radius: 10px;font-weight: 700;}
#cds{color: #fff;background: #784105;padding: 0px 10px;border-radius: 10px;font-weight: 700;}
/* =========================================
   TABLET
========================================= */

@media(max-width:992px){

    .login-card-modern{
        grid-template-columns:1fr;
    }

    .login-left-panel{
        padding:50px 35px;
    }

    .login-right-panel{
        padding:45px 30px;
    }

    .login-left-content h1{
        font-size:52px;
    }

    .login-form-area h2{
        font-size:46px;
    }

}

/* =========================================
   MOBILE
========================================= */

@media(max-width:600px){

    .login-wrapper{
        padding:15px;
    }

    .login-card-modern{
        border-radius:20px;
    }

    .login-left-panel{
        padding:40px 25px;
    }

    .login-right-panel{
        padding:35px 20px;
    }

    .login-left-content h1{
        font-size:40px;
    }

    .login-left-content p{
        font-size:16px;
    }

    .login-form-area h2{
        font-size:34px;
    }

    .login-desc{
        font-size:15px;
    }

    .login-form-area input{
        height:58px;
        font-size:15px;
    }

    .captcha-box-modern{
        width:140px;
        height:65px;
    }

    .login-btn-modern{
        height:60px;
        font-size:20px;
    }

}


/* =========================================
   LAST DATE
========================================= */

.last-date{
    font-size:28px;
    font-weight:700;
    color:#ffe082;
    text-align:center;
    margin-bottom:35px;
}

/* =========================================
   COUNTDOWN
========================================= */

.countdown-wrapper{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:14px;
    margin-top:10px;
	font-family:serif;
}

/* =========================================
   COUNTDOWN BOX
========================================= */

.countdown-box{
    background:rgba(255,255,255,0.12);

    border:1px solid rgba(255,255,255,0.18);

    backdrop-filter:blur(5px);

    border-radius:18px;

    padding:8px;

    text-align:center;

    transition:.3s;
}

.countdown-box:hover{
    transform:translateY(-4px);

    background:rgba(255,255,255,0.16);
}

.countdown-box span{
    display:block;

    font-size:25px;
    font-weight:800;
    color:#fff;

    margin-bottom:8px;
}

.countdown-box small{
    font-size:14px;
    letter-spacing:1px;
    color:#dce8ff;
    text-transform:uppercase;
}

/* =========================================
   COUNTDOWN EXPIRED
========================================= */

.countdown-expired{
    width:100%;

    background:#ff5252;

    color:#fff;

    text-align:center;

    padding:20px;

    border-radius:18px;

    font-size:24px;
    font-weight:800;
}

/* =========================================
   TABLET
========================================= */

@media(max-width:992px){

    .last-date{
        font-size:24px;
    }

    .countdown-box span{
        font-size:28px;
    }

}

/* =========================================
   MOBILE
========================================= */

@media(max-width:600px){

    .last-date{
        font-size:20px;
    }

    .countdown-wrapper{
        grid-template-columns:repeat(2,1fr);
    }

    .countdown-box{
        padding:16px 8px;
    }

    .countdown-box span{
        font-size:24px;
    }

    .countdown-box small{
        font-size:12px;
    }

}