* {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    box-sizing: border-box;
}

body {
    background: #fcf5e3;
}

/* ==================================================
   LOGIN LAYOUT
================================================== */

.kmc-login-wrapper {
    display: flex;
    min-height: 100vh;
}

/* ==================================================
   LEFT PANEL
================================================== */

.kmc-login-left {
    width: 50%;
    background:
        linear-gradient(
            rgba(230, 81, 0, 0.92),
            rgba(191, 54, 12, 0.92)
        ),
        url("../adminimages/frame1.jpg") center/cover no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
    overflow: hidden;

    border-right: 2px solid #F57C00;
}

/* HOME BUTTON */

.kmc-home-btn {
    position: absolute;
    top: 20px;
    left: 20px;

    color: #ffffff;
    font-size: 20px;
    text-decoration: none;

    background: rgba(255, 255, 255, 0.15);

    padding: 10px 12px;
    border-radius: 50%;

    transition: all 0.3s ease;

    z-index: 10;

    border: 1px solid rgba(255,255,255,0.25);
}

.kmc-home-btn:hover {
    background: #ffffff;
    color: #BF360C;
}

/* LEFT CONTENT */

.kmc-left-content {
    text-align: center;
    color: #fff;
    max-width: 420px;
    position: relative;
    z-index: 2;
}

.kmc-login-logo {
    width: 190px;
    margin-bottom: 20px;
}

.kmc-left-content h2 {
    font-size: 30px;
    margin-bottom: 12px;
}

.kmc-left-content p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.kmc-left-register {
    display: inline-block;

    padding: 12px 28px;

    border: 2px solid #fff;

    color: #fff;
    text-decoration: none;
    font-weight: 600;

    transition: 0.3s ease;
}

.kmc-left-register:hover {
    background: #fff;
    color: #BF360C;
}

/* ==================================================
   RIGHT PANEL
================================================== */

.kmc-login-right {
    width: 50%;
    background: #fcf5e3;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
    overflow: hidden;
}

/* ==================================================
   INDIAN FLAG EFFECT
================================================== */

/* SAFFRON WAVE */
/* 
.kmc-login-right::before {
    content: "";

    position: absolute;

    top: -120px;
    right: -180px;

    width: 700px;
    height: 320px;

    background:
        radial-gradient(
            ellipse at center,
            rgba(255, 140, 0, 0.92) 0%,
            rgba(255, 140, 0, 0.72) 35%,
            rgba(255, 140, 0, 0.08) 70%,
            transparent 100%
        );

    transform: rotate(-14deg);

    border-radius: 50%;

    filter: blur(10px);

    opacity: 0.85;

    z-index: 0;
    pointer-events: none;
}



.kmc-login-right::after {
    content: "";

    position: absolute;

    bottom: -100px;
    right: -180px;

    width: 700px;
    height: 320px;

    background:
        linear-gradient(
            160deg,
            transparent 0%,
            rgba(255,255,255,0.92) 35%,
            rgba(255,255,255,0.95) 48%,
            rgba(25, 135, 30, 0.88) 68%,
            rgba(25, 135, 30, 0.10) 88%,
            transparent 100%
        );

    transform: rotate(-12deg);

    border-radius: 50%;

    filter: blur(8px);

    opacity: 0.85;

    z-index: 0;
    pointer-events: none;
} */

/* RIGHT PANEL */
.kmc-login-right {
    width: 50%;
    background: #fcf5e3;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* SAFFRON SOFT WAVE */
.kmc-login-right::before {
    content: "";

    position: absolute;

    top: 20px;
    right: -180px;

    width: 1000px;
    height: 140px;

    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(255,153,0,0.04) 12%,
            rgba(255,153,0,0.22) 24%,
            rgba(255,140,0,0.55) 42%,
            rgba(230,81,0,0.62) 55%,
            rgba(255,140,0,0.38) 72%,
            rgba(255,153,0,0.10) 84%,
            transparent 100%
        );

    transform: rotate(-12deg);

    filter: blur(18px);

    opacity: 0.75;

    z-index: 0;
    pointer-events: none;
}

/* WHITE + GREEN SOFT WAVE */
.kmc-login-right::after {
    content: "";

    position: absolute;

    bottom: -10px;
    right: -220px;

    width: 1050px;
    height: 210px;

    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(255,255,255,0.05) 10%,
            rgba(255,255,255,0.55) 32%,
            rgba(255,255,255,0.82) 45%,
            rgba(255,255,255,0.92) 52%,
            rgba(34,139,34,0.32) 66%,
            rgba(0,128,0,0.58) 78%,
            rgba(0,128,0,0.18) 88%,
            transparent 100%
        );

    transform: rotate(-10deg);

    filter: blur(20px);

    opacity: 0.78;

    z-index: 0;
    pointer-events: none;
}


/* ==================================================
   LOGIN CARD
================================================== */

.kmc-login-card {
    position: relative;
    z-index: 2;

    width: 420px;

    background: rgba(255,255,255,0.96);

    backdrop-filter: blur(4px);

    padding: 35px 30px;

    border-radius: 6px;

    border: 1px solid #FDC591;

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.08),
        0 0 30px rgba(255, 153, 51, 0.08);
}

/* ==================================================
   HEADING
================================================== */

.kmc-login-title {
    text-align: center;
    margin-bottom: 5px;
    color: #BF360C;
}

.kmc-login-subtext {
    text-align: center;
    font-size: 14px;
    color: #555;
    margin-bottom: 25px;
}

/* ==================================================
   FORM
================================================== */

.kmc-form-group {
    margin-bottom: 18px;
}

.kmc-form-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
    font-weight: 600;
    color: #BF360C;
}

.kmc-form-group span {
    color: #E65100;
}

.kmc-form-group input {
    width: 100%;

    padding: 10px 5px;

    border: none;
    border-bottom: 1px solid #FDC591;

    outline: none;

    font-size: 14px;

    background: transparent;
}

.kmc-form-group input:focus {
    border-bottom: 1px solid #E65100;
}

/* ==================================================
   PASSWORD
================================================== */

.kmc-password-wrap {
    position: relative;
}

.kmc-eye {
    position: absolute;
    right: 5px;
    bottom: 10px;

    cursor: pointer;
    color: #777;
}

/* ==================================================
   CAPTCHA
================================================== */

.kmc-captcha-block {
    margin-bottom: 15px;
}

.kmc-captcha-box {
    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #FFF3E0;

    padding: 10px 15px;

    border-radius: 4px;

    border: 1px solid #FDC591;
}

#kmcCaptchaText {
    font-size: 20px;
    letter-spacing: 4px;
    font-weight: bold;
    color: #BF360C;
}

.kmc-refresh {
    background: #E65100;
    color: #fff;

    border: none;

    padding: 6px 10px;

    cursor: pointer;

    border-radius: 3px;

    transition: 0.3s ease;
}

.kmc-refresh:hover {
    background: #BF360C;
}

/* ==================================================
   LOGIN BUTTON
================================================== */

.kmc-login-btn {
    width: 100%;

    background: #E65100;
    color: #fff;

    padding: 12px;

    border: none;

    font-size: 16px;

    cursor: pointer;

    border-radius: 4px;

    margin-top: 10px;

    transition: 0.3s ease;
}

.kmc-login-btn:hover {
    background: #BF360C;
}

/* ==================================================
   FORGOT PASSWORD
================================================== */

.kmc-forgot {
    text-align: right;
    margin-top: 12px;
}

.kmc-forgot a {
    font-size: 14px;
    text-decoration: none;
    color: #BF360C;
}

.kmc-forgot a:hover {
    text-decoration: underline;
}

/* ==================================================
   PASSWORD MODAL
================================================== */

.kmc-passmodal {
    display: none;

    position: fixed;

    z-index: 9999;

    left: 0;
    top: 0;

    width: 100%;
    height: 100%;

    background-color: rgba(0,0,0,0.6);
}

.kmc-passmodal-content {
    background-color: #ffffff;

    margin: 15% auto;

    padding: 25px;

    width: 420px;

    border-radius: 8px;

    text-align: center;

    border: 1px solid #FDC591;
}

.kmc-passmodal-content h3 {
    margin-bottom: 15px;
    color: #BF360C;
}

.kmc-passmodal-content .chngpassbtn {
    margin-top: 15px;

    padding: 8px 20px;

    background-color: #E65100;
    color: white;

    border: none;

    border-radius: 4px;

    cursor: pointer;

    transition: 0.3s ease;
}

.kmc-passmodal-content .chngpassbtn:hover {
    background-color: #BF360C;
}

/* ==================================================
   RESPONSIVE
================================================== */

@media (max-width: 1024px) {

    .kmc-login-card {
        width: 400px;
    }

    .kmc-left-content h2 {
        font-size: 26px;
    }

    .kmc-login-right::before,
    .kmc-login-right::after {
        width: 520px;
        height: 240px;
        right: -160px;
    }
}

/* TABLETS */

@media (max-width: 900px) {

    .kmc-login-left,
    .kmc-login-right {
        width: 50%;
    }

    .kmc-login-card {
        width: 380px;
        padding: 30px 25px;
    }
}

/* MOBILE TABLETS */

@media (max-width: 768px) {

    .kmc-login-wrapper {
        flex-direction: column;
    }

    .kmc-login-left,
    .kmc-login-right {
        width: 100%;
    }

    .kmc-login-left {
        min-height: 35vh;

        padding: 30px 20px;

        background-position: top center;

        border-right: none;
        border-bottom: 2px solid #F57C00;
    }

    .kmc-login-right {
        padding: 30px 15px;
    }

    .kmc-login-card {
        width: 100%;
        max-width: 420px;
        margin: auto;
    }

    .kmc-login-right::before,
    .kmc-login-right::after {
        opacity: 0.45;

        width: 400px;
        height: 180px;

        right: -140px;
    }
}

/* MOBILE */

@media (max-width: 576px) {

    .kmc-login-left {
        min-height: auto;

        padding: 25px 15px;

        text-align: center;
    }

    .kmc-login-logo {
        width: 70px;
    }

    .kmc-left-content h2 {
        font-size: 22px;
    }

    .kmc-left-content p {
        font-size: 14px;
    }

    .kmc-login-card {
        padding: 25px 18px;

        border: 1px solid #FDC591;
    }

    .kmc-login-title {
        font-size: 20px;
    }

    .kmc-form-group label {
        font-size: 13px;
    }

    .kmc-form-group input {
        font-size: 13px;
    }

    #kmcCaptchaText {
        font-size: 18px;
        letter-spacing: 3px;
    }

    .kmc-login-right::before,
    .kmc-login-right::after {
        width: 280px;
        height: 140px;

        right: -100px;

        opacity: 0.35;
    }
}

/* VERY SMALL DEVICES */

@media (max-width: 360px) {

    .kmc-left-content h2 {
        font-size: 20px;
    }

    .kmc-login-title {
        font-size: 18px;
    }

    .kmc-login-btn {
        font-size: 14px;
        padding: 10px;
    }
}