/* =========================================================
   MCTI STUDENT LOGIN
   ORANGE THEME
   Corrected for current HTML structure
   ========================================================= */


/* =========================================================
   GOOGLE FONT
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');


/* =========================================================
   CSS VARIABLES
   ========================================================= */

:root {

    /* ---------- Primary Orange ---------- */

    --primary: #ff4b18;
    --primary-dark: #e83d0c;
    --primary-light: #ff6a3d;

    /* ---------- Orange Background ---------- */

    --background: #fff5f0;
    --background-light: #fffaf7;

    /* ---------- Right Panel ---------- */

    --panel-orange: #ff4b18;
    --panel-orange-dark: #f04412;
    --panel-orange-light: #ff5b2b;

    /* ---------- Text ---------- */

    --heading: #202020;
    --text: #707070;
    --muted: #969696;

    /* ---------- Neutral ---------- */

    --white: #ffffff;
    --light: #fff9f6;
    --border: #f1ddd5;

    /* ---------- Effects ---------- */

    --shadow:
        0 20px 55px rgba(255, 75, 24, 0.16);

    --shadow-hover:
        0 25px 65px rgba(255, 75, 24, 0.22);

    --transition: .25s ease;
}


/* =========================================================
   RESET
   ========================================================= */

*,
*::before,
*::after {

    margin: 0;
    padding: 0;

    box-sizing: border-box;
}


/* =========================================================
   HTML
   ========================================================= */

html {

    scroll-behavior: smooth;
}


/* =========================================================
   BODY
   ========================================================= */

body {

    font-family: 'Poppins', sans-serif;

    background:
        radial-gradient(
            circle at top left,
            rgba(255, 75, 24, 0.08),
            transparent 35%
        ),
        radial-gradient(
            circle at bottom right,
            rgba(255, 75, 24, 0.07),
            transparent 35%
        ),
        var(--background);

    min-height: 100vh;

    display: flex;

    justify-content: center;

    align-items: center;

    overflow: hidden;

    color: var(--heading);
}


/* =========================================================
   IMAGES
   ========================================================= */

img {

    display: block;

    max-width: 100%;
}


/* =========================================================
   LINKS
   ========================================================= */

a {

    text-decoration: none;

    transition: var(--transition);
}


/* =========================================================
   BUTTONS
   ========================================================= */

button {

    font-family: inherit;

    border: none;

    outline: none;

    cursor: pointer;
}


/* =========================================================
   INPUTS
   ========================================================= */

input,
select,
textarea {

    font-family: inherit;

    outline: none;
}


/* =========================================================
   MAIN BACKGROUND
   ========================================================= */

.background {

    width: 100%;

    min-height: 100vh;

    display: flex;

    justify-content: center;

    align-items: center;

    padding: 20px;

    position: relative;

    overflow: hidden;
}


/* =========================================================
   BACKGROUND DECORATION
   ========================================================= */

.background::before {

    content: "";

    position: absolute;

    width: 350px;

    height: 350px;

    top: -170px;

    left: -170px;

    border-radius: 50%;

    background: rgba(255, 75, 24, 0.08);
}


.background::after {

    content: "";

    position: absolute;

    width: 400px;

    height: 400px;

    right: -200px;

    bottom: -200px;

    border-radius: 50%;

    background: rgba(255, 75, 24, 0.07);
}


/* =========================================================
   LOGIN CONTAINER
   ========================================================= */

.login-container {

    position: relative;

    z-index: 5;

    width: 100%;

    max-width: 1050px;

    height: 680px;

    display: flex;

    overflow: hidden;

    border-radius: 24px;

    background: var(--white);

    box-shadow: var(--shadow);

    border: 1px solid rgba(255, 75, 24, 0.12);
}


/* =========================================================
   LEFT PANEL
   ========================================================= */

.left-panel {

    position: relative;

    width: 50%;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #fffaf7 0%,
            #fff5f0 100%
        );
}


/* =========================================================
   RIGHT PANEL
   IMPORTANT FIX
   ========================================================= */

.right-panel {

    position: relative;

    width: 50%;

    display: flex;

    flex-direction: column;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            var(--panel-orange) 0%,
            var(--panel-orange-dark) 100%
        );

    color: var(--white);
}


/* =========================================================
   RIGHT PANEL DECORATIVE CIRCLE
   ========================================================= */

.right-panel::before {

    content: "";

    position: absolute;

    width: 320px;

    height: 320px;

    top: -170px;

    right: -150px;

    border-radius: 50%;

    border: 2px solid rgba(255, 255, 255, 0.10);

    pointer-events: none;
}


.right-panel::after {

    content: "";

    position: absolute;

    width: 420px;

    height: 420px;

    bottom: -260px;

    left: -220px;

    border-radius: 50%;

    border: 2px solid rgba(255, 255, 255, 0.08);

    pointer-events: none;
}


/* =========================================================
   LEFT LOGO
   ========================================================= */

.left-logo {

    position: absolute;

    top: 28px;

    left: 32px;

    display: flex;

    align-items: center;

    gap: 12px;

    z-index: 10;

    animation: slideRight .6s ease;
}


/* =========================================================
   LOGO BOX
   ========================================================= */

.logo-box {

    width: 48px;

    height: 48px;

    display: flex;

    justify-content: center;

    align-items: center;

    border-radius: 14px;

    background: var(--primary);

    color: var(--white);

    font-size: 22px;

    box-shadow:
        0 10px 25px rgba(255, 75, 24, 0.20);

    transition: var(--transition);
}


.logo-box:hover {

    transform: rotate(-6deg) scale(1.05);
}


/* =========================================================
   LOGO TEXT
   ========================================================= */

.logo-text h2 {

    font-size: 25px;

    font-weight: 800;

    color: var(--heading);

    line-height: 1;
}


.logo-text span {

    display: block;

    margin-top: 4px;

    font-size: 9px;

    letter-spacing: 1.8px;

    text-transform: uppercase;

    color: #999;
}


/* =========================================================
   LEFT CONTENT
   ========================================================= */

.left-content {

    position: absolute;

    left: 34px;

    top: 125px;

    width: 350px;

    z-index: 5;

    animation: slideRight .7s ease;
}


.left-content h1 {

    font-size: 42px;

    font-weight: 700;

    line-height: 1.15;

    color: var(--heading);
}


.left-content h1 span {

    color: var(--primary);
}


.left-content p {

    margin-top: 18px;

    font-size: 15px;

    line-height: 1.7;

    color: var(--text);

    max-width: 330px;
}


/* =========================================================
   ORANGE LINE
   ========================================================= */

.line {

    width: 65px;

    height: 4px;

    margin-top: 20px;

    border-radius: 20px;

    background: var(--primary);
}


/* =========================================================
   STUDENT IMAGE
   ========================================================= */

.left-image {

    position: absolute;

    bottom: 110px;

    right: -20px;

    width: 300px;

    z-index: 2;

    animation: float 5s ease-in-out infinite;
}


.left-image img {

    width: 100%;

    height: auto;

    object-fit: contain;

    transition: .4s ease;
}


.left-image:hover img {

    transform: scale(1.03);
}


/* =========================================================
   INFO CARD
   ========================================================= */

.info-card {

    position: absolute;

    left: 32px;

    bottom: 25px;

    width: 350px;

    padding: 14px 16px;

    display: flex;

    align-items: center;

    gap: 12px;

    border-radius: 14px;

    background: var(--primary);

    color: var(--white);

    font-size: 12px;

    line-height: 1.5;

    box-shadow:
        0 15px 30px rgba(255, 75, 24, 0.22);

    z-index: 8;

    transition: var(--transition);

    animation: fadeUp .9s ease;
}


.info-card:hover {

    transform: translateY(-4px);

    box-shadow:
        0 20px 35px rgba(255, 75, 24, 0.28);
}


/* =========================================================
   INFO ICON
   ========================================================= */

.info-icon {

    width: 42px;

    height: 42px;

    min-width: 42px;

    display: flex;

    justify-content: center;

    align-items: center;

    border-radius: 50%;

    background: rgba(255, 255, 255, .16);

    font-size: 18px;
}


/* =========================================================
   DOT PATTERN
   ========================================================= */

.dots {

    position: absolute;

    top: 90px;

    right: 60px;

    width: 90px;

    height: 90px;

    background-image:
        radial-gradient(
            var(--primary) 1.5px,
            transparent 1.5px
        );

    background-size: 16px 16px;

    opacity: .12;
}


/* =========================================================
   LARGE CIRCLE
   ========================================================= */

.circle {

    position: absolute;

    right: -180px;

    bottom: 20px;

    width: 420px;

    height: 420px;

    border-radius: 50%;

    border: 2px solid rgba(255, 75, 24, .10);

    animation: rotateCircle 40s linear infinite;
}


.circle::before {

    content: "";

    position: absolute;

    inset: 28px;

    border-radius: 50%;

    border: 2px solid rgba(255, 75, 24, .07);
}


.circle::after {

    content: "";

    position: absolute;

    inset: 55px;

    border-radius: 50%;

    border: 2px solid rgba(255, 75, 24, .05);
}


/* =========================================================
   LEFT DECORATIVE SHAPES
   ========================================================= */

.left-panel::before {

    content: "";

    position: absolute;

    width: 250px;

    height: 250px;

    left: -130px;

    bottom: -130px;

    border-radius: 50%;

    background: rgba(255, 75, 24, .055);
}


.left-panel::after {

    content: "";

    position: absolute;

    width: 120px;

    height: 120px;

    top: -60px;

    right: -60px;

    border-radius: 50%;

    background: rgba(255, 75, 24, .06);
}


/* =========================================================
   LOGIN FORM
   ========================================================= */

.login-form {

    position: relative;

    z-index: 5;

    width: 100%;

    height: 100%;

    padding: 55px 55px 35px;

    animation: fadeUp .7s ease;
}


/* =========================================================
   LOGIN TITLE
   Overrides inline white text visually
   ========================================================= */

.login-form h3 {

    color: var(--white) !important;

    text-align: center;

    font-size: 30px;

    font-weight: 700;

    line-height: 1.25;

    margin-bottom: 0;
}


/* =========================================================
   UNDERLINE
   ========================================================= */

.underline {

    width: 55px;

    height: 3px;

    margin: 10px auto 32px;

    border-radius: 30px;

    background: var(--white);
}


/* =========================================================
   LABELS
   ========================================================= */

.login-form label {

    display: block;

    margin-bottom: 7px;

    font-size: 12px;

    font-weight: 600;

    color: rgba(255, 255, 255, .95) !important;
}


/* =========================================================
   INPUT BOX
   ========================================================= */

.input-box {

    position: relative;

    margin-bottom: 20px;
}


/* =========================================================
   INPUT
   ========================================================= */

.input-box input {

    width: 100%;

    height: 50px;

    padding: 0 48px;

    border: 1px solid rgba(255, 255, 255, .25);

    border-radius: 10px;

    background: rgba(255, 255, 255, .96);

    font-size: 13px;

    color: var(--heading);

    transition: var(--transition);

    box-shadow:
        0 5px 15px rgba(0, 0, 0, .05);
}


/* =========================================================
   INPUT FOCUS
   ========================================================= */

.input-box input:focus {

    border-color: var(--white);

    background: var(--white);

    box-shadow:
        0 0 0 3px rgba(255, 255, 255, .18);
}


/* =========================================================
   INPUT HOVER
   ========================================================= */

.input-box input:hover {

    border-color: rgba(255, 255, 255, .7);
}


/* =========================================================
   PLACEHOLDER
   ========================================================= */

.input-box input::placeholder {

    color: #999;
}


/* =========================================================
   INPUT ICON
   ========================================================= */

.input-box i:first-child {

    position: absolute;

    left: 17px;

    top: 50%;

    transform: translateY(-50%);

    color: var(--primary);

    font-size: 14px;

    z-index: 2;

    pointer-events: none;
}


/* =========================================================
   INPUT ICON FOCUS
   ========================================================= */

.input-box:focus-within i:first-child {

    color: var(--primary-dark);
}


/* =========================================================
   PASSWORD BUTTON
   ========================================================= */

.toggle-password {

    position: absolute;

    right: 8px;

    top: 50%;

    transform: translateY(-50%);

    width: 34px;

    height: 34px;

    display: flex;

    justify-content: center;

    align-items: center;

    background: transparent;

    color: #888;

    border: none;

    cursor: pointer;

    border-radius: 6px;

    transition: var(--transition);
}


.toggle-password:hover {

    color: var(--primary);

    background: rgba(255, 75, 24, .08);
}


/* =========================================================
   FORGOT PASSWORD
   ========================================================= */

.forgot {

    display: flex;

    justify-content: flex-end;

    margin-top: -3px;

    margin-bottom: 22px;
}


.forgot a {

    color: var(--white) !important;

    font-size: 11px;

    font-weight: 600;
}


.forgot a:hover {

    text-decoration: underline;

    opacity: .85;
}


/* =========================================================
   LOGIN BUTTON
   ========================================================= */

.login-btn {

    position: relative;

    overflow: hidden;

    width: 100%;

    height: 50px;

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 9px;

    border-radius: 10px;

    background: var(--white);

    color: var(--primary);

    font-size: 14px;

    font-weight: 700;

    box-shadow:
        0 10px 25px rgba(0, 0, 0, .12);

    transition: var(--transition);
}


/* =========================================================
   LOGIN BUTTON SHINE
   ========================================================= */

.login-btn::before {

    content: "";

    position: absolute;

    left: -120%;

    top: 0;

    width: 80%;

    height: 100%;

    transform: skewX(-25deg);

    background: rgba(255, 75, 24, .08);

    transition: .6s;
}


.login-btn:hover::before {

    left: 130%;
}


.login-btn:hover {

    background: #fff7f3;

    transform: translateY(-2px);

    box-shadow:
        0 13px 28px rgba(0, 0, 0, .16);
}


.login-btn:active {

    transform: scale(.98);
}


/* =========================================================
   DIVIDER
   ========================================================= */

.divider {

    display: flex;

    align-items: center;

    margin: 25px 0;

    color: rgba(255, 255, 255, .8);
}


.divider::before,
.divider::after {

    content: "";

    flex: 1;

    height: 1px;

    background: rgba(255, 255, 255, .30);
}


.divider span {

    margin: 0 14px;

    font-size: 10px;

    font-weight: 600;

    color: rgba(255, 255, 255, .85);
}


/* =========================================================
   REGISTER
   ========================================================= */

.register {

    text-align: center;

    font-size: 12px;

    color: rgba(255, 255, 255, .9);
}


.register > div {

    color: rgba(255, 255, 255, .9) !important;
}


.register a {

    margin-left: 5px;

    color: #ffe1d6 !important;

    font-weight: 700;
}


.register a:hover {

    color: var(--white) !important;

    text-decoration: underline;
}


.register i {

    margin-left: 4px;

    font-size: 11px;
}


/* =========================================================
   INPUT CARET
   ========================================================= */

input {

    caret-color: var(--primary);
}


/* =========================================================
   TEXT SELECTION
   ========================================================= */

::selection {

    background: var(--primary);

    color: var(--white);
}


/* =========================================================
   SCROLLBAR
   ========================================================= */

::-webkit-scrollbar {

    width: 7px;
}


::-webkit-scrollbar-track {

    background: #fff3ee;
}


::-webkit-scrollbar-thumb {

    background: #ff9b7b;

    border-radius: 20px;
}


::-webkit-scrollbar-thumb:hover {

    background: var(--primary);
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

button:focus-visible,
input:focus-visible,
a:focus-visible {

    outline: 2px solid rgba(255, 255, 255, .65);

    outline-offset: 2px;
}


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes float {

    0% {

        transform: translateY(0);
    }

    50% {

        transform: translateY(-10px);
    }

    100% {

        transform: translateY(0);
    }
}


@keyframes fadeUp {

    from {

        opacity: 0;

        transform: translateY(15px);
    }

    to {

        opacity: 1;

        transform: translateY(0);
    }
}


@keyframes rotateCircle {

    from {

        transform: rotate(0deg);
    }

    to {

        transform: rotate(360deg);
    }
}


@keyframes slideRight {

    from {

        opacity: 0;

        transform: translateX(-25px);
    }

    to {

        opacity: 1;

        transform: translateX(0);
    }
}


@keyframes slideLeft {

    from {

        opacity: 0;

        transform: translateX(25px);
    }

    to {

        opacity: 1;

        transform: translateX(0);
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {

        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {

        animation: none !important;

        transition: none !important;

        scroll-behavior: auto !important;
    }
}


/* =========================================================
   LARGE LAPTOP
   1400px+
   ========================================================= */

@media screen and (min-width: 1400px) {

    .login-container {

        max-width: 1050px;

        height: 680px;
    }
}


/* =========================================================
   LAPTOP
   ========================================================= */

@media screen and (max-width: 1200px) {

    .login-container {

        max-width: 950px;

        height: 650px;
    }

    .left-content {

        left: 30px;

        top: 115px;

        width: 310px;
    }

    .left-content h1 {

        font-size: 38px;
    }

    .left-content p {

        font-size: 14px;
    }

    .left-image {

        width: 260px;

        bottom: 105px;
    }

    .info-card {

        width: 315px;

        left: 28px;
    }

    .login-form {

        padding: 45px 40px 30px;
    }

    .login-form h3 {

        font-size: 27px;
    }
}


/* =========================================================
   TABLET LANDSCAPE
   ========================================================= */

@media screen and (max-width: 992px) {

    body {

        overflow: auto;
    }

    .background {

        min-height: 100vh;

        padding: 20px;
    }

    .login-container {

        width: 100%;

        max-width: 760px;

        height: auto;

        min-height: 620px;
    }

    .left-panel,
    .right-panel {

        width: 50%;
    }

    .left-content {

        width: 270px;
    }

    .left-content h1 {

        font-size: 34px;
    }

    .left-image {

        width: 230px;

        bottom: 105px;
    }

    .info-card {

        width: 280px;

        font-size: 11px;
    }

    .login-form {

        padding: 40px 28px 25px;
    }

    .login-form h3 {

        font-size: 24px;
    }
}


/* =========================================================
   TABLET PORTRAIT
   ========================================================= */

@media screen and (max-width: 768px) {

    body {

        overflow: auto;

        align-items: flex-start;
    }

    .background {

        padding: 15px;

        align-items: flex-start;
    }

    .login-container {

        flex-direction: column;

        width: 100%;

        max-width: 520px;

        height: auto;

        margin: 10px auto;
    }

    .left-panel,
    .right-panel {

        width: 100%;
    }


    /* ---------- Left panel ---------- */

    .left-panel {

        min-height: 370px;
    }

    .left-logo {

        top: 20px;

        left: 22px;
    }

    .logo-box {

        width: 42px;

        height: 42px;

        font-size: 19px;
    }

    .logo-text h2 {

        font-size: 22px;
    }

    .logo-text span {

        font-size: 8px;
    }

    .left-content {

        top: 90px;

        left: 22px;

        width: 80%;
    }

    .left-content h1 {

        font-size: 32px;
    }

    .left-content p {

        margin-top: 12px;

        font-size: 13px;
    }

    .line {

        margin-top: 15px;
    }

    .left-image {

        width: 210px;

        bottom: 35px;

        right: -10px;
    }

    .info-card {

        left: 22px;

        bottom: 20px;

        width: 250px;

        padding: 10px 12px;

        font-size: 10px;
    }

    .info-icon {

        width: 35px;

        height: 35px;

        min-width: 35px;

        font-size: 15px;
    }

    .circle {

        display: none;
    }

    .dots {

        display: none;
    }


    /* ---------- Right panel ---------- */

    .right-panel {

        min-height: 480px;
    }

    .login-form {

        padding: 40px 30px 30px;
    }

    .login-form h3 {

        font-size: 24px;
    }

    .underline {

        margin-bottom: 28px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media screen and (max-width: 576px) {

    .background {

        padding: 10px;
    }

    .login-container {

        border-radius: 18px;

        margin: 5px auto;
    }


    /* ---------- Left panel ---------- */

    .left-panel {

        min-height: 330px;
    }

    .left-content {

        top: 82px;

        left: 20px;
    }

    .left-content h1 {

        font-size: 27px;
    }

    .left-content p {

        font-size: 12px;

        line-height: 1.5;

        max-width: 230px;
    }

    .left-image {

        width: 180px;

        right: -15px;

        bottom: 30px;
    }

    .info-card {

        left: 18px;

        bottom: 15px;

        width: 220px;

        font-size: 9.5px;
    }


    /* ---------- Right panel ---------- */

    .right-panel {

        min-height: 460px;
    }

    .login-form {

        padding: 32px 22px 25px;
    }

    .login-form h3 {

        font-size: 21px;
    }

    .underline {

        margin-top: 8px;

        margin-bottom: 24px;
    }

    .login-form label {

        font-size: 11px;
    }

    .input-box {

        margin-bottom: 16px;
    }

    .input-box input {

        height: 46px;

        font-size: 12px;

        padding: 0 42px;
    }

    .input-box i:first-child {

        left: 14px;

        font-size: 13px;
    }

    .toggle-password {

        right: 5px;
    }

    .forgot {

        margin-bottom: 18px;
    }

    .forgot a {

        font-size: 10px;
    }

    .login-btn {

        height: 46px;

        font-size: 13px;
    }

    .divider {

        margin: 20px 0;
    }

    .register {

        font-size: 11px;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media screen and (max-width: 400px) {

    .left-panel {

        min-height: 300px;
    }

    .left-content {

        top: 75px;
    }

    .left-content h1 {

        font-size: 24px;
    }

    .left-content p {

        font-size: 11px;
    }

    .left-image {

        width: 150px;

        bottom: 25px;
    }

    .info-card {

        width: 195px;

        font-size: 8.5px;

        padding: 8px 10px;
    }

    .info-icon {

        width: 30px;

        height: 30px;

        min-width: 30px;

        font-size: 13px;
    }

    .right-panel {

        min-height: 440px;
    }

    .login-form {

        padding: 28px 18px 22px;
    }

    .login-form h3 {

        font-size: 19px;
    }

    .login-header p {

        font-size: 10px;
    }
}


/* =========================================================
   SHORT DESKTOP SCREEN
   ========================================================= */

@media screen and (max-height: 750px) and (min-width: 769px) {

    .background {

        padding: 10px;
    }

    .login-container {

        height: 620px;
    }

    .left-content {

        top: 105px;
    }

    .left-content h1 {

        font-size: 36px;
    }

    .left-content p {

        margin-top: 14px;

        font-size: 13px;
    }

    .left-image {

        width: 250px;

        bottom: 90px;
    }

    .info-card {

        bottom: 18px;

        padding: 11px 13px;
    }

    .login-form {

        padding: 35px 35px 20px;
    }

    .login-form h3 {

        font-size: 23px;
    }

    .underline {

        margin-bottom: 20px;
    }

    .input-box {

        margin-bottom: 12px;
    }

    .input-box input {

        height: 44px;
    }

    .forgot {

        margin-bottom: 14px;
    }

    .login-btn {

        height: 44px;
    }

    .divider {

        margin: 15px 0;
    }
}


/* =========================================================
   EXTRA SMALL HEIGHT
   ========================================================= */

@media screen and (max-height: 650px) and (min-width: 769px) {

    .login-container {

        height: 570px;
    }

    .left-content {

        top: 90px;
    }

    .left-content h1 {

        font-size: 32px;
    }

    .left-content p {

        font-size: 12px;
    }

    .left-image {

        width: 220px;

        bottom: 80px;
    }

    .info-card {

        bottom: 12px;

        padding: 8px 10px;
    }

    .login-form {

        padding: 25px 30px 15px;
    }

    .login-form h3 {

        font-size: 20px;
    }

    .underline {

        margin-bottom: 14px;
    }

    .login-form label {

        margin-bottom: 4px;

        font-size: 11px;
    }

    .input-box {

        margin-bottom: 9px;
    }

    .input-box input {

        height: 40px;
    }

    .forgot {

        margin-bottom: 10px;
    }

    .login-btn {

        height: 40px;
    }

    .divider {

        margin: 11px 0;
    }
}


/* =========================================================
   END
   ========================================================= */