@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ================================================
   ROOT FONT SIZE SCALING
   ================================================ */
html { font-size: 16px; }
@media (max-width: 1440px) { html { font-size: 15px; } }
@media (max-width: 1024px) { html { font-size: 14px; } }
@media (max-width: 768px)  { html { font-size: 13px; } }
@media (max-width: 480px)  { html { font-size: 14px; } }
@media (max-width: 320px)  { html { font-size: 13px; } }

/* ================================================
   CSS VARIABLES
   ================================================ */
:root {
    --primary-color:      #4361ee;
    --primary-hover:      #3a56d4;
    --secondary-color:    #3f37c9;
    --accent-color:       #4cc9f0;
    --success-color:      #2ecc71;
    --error-color:        #e74c3c;
    --warning-color:      #f39c12;
    --text-primary:       #333;
    --text-secondary:     #6c757d;
    --text-muted:         #adb5bd;
    --bg-light:           #f8f9fa;
    --card-shadow:        0 0.625rem 1.875rem rgba(0,0,0,0.1);
    --transition-speed:   0.3s;
    --input-bg:           #ffffff;
    --input-bg-focus:     #fafbfc;
    --input-border:       #e2e8f0;
    --input-border-focus: #4361ee;
    /* Toast / Modal tokens */
    --toast-warning-color:  #f59e0b;
    --toast-warning-bg:     #fffbeb;
    --toast-warning-border: #fde68a;
    --sub-danger:           #ef4444;
    --sub-danger-soft:      rgba(239,68,68,0.08);
    --sub-danger-border:    rgba(239,68,68,0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }

body { width: 100%; min-height: 100vh; overflow-x: hidden; background-color: var(--bg-light); }

/* ================================================
   PRELOADER
   ================================================ */
#login_loader-wrapper {
    position: fixed; width: 100%; height: 100%;
    background: #fff;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s;
}
.loading-title {
    font-weight: 700; margin: 1.25rem 0;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    font-size: 2rem;
}
.loading-spinner {
    width: 3.75rem; height: 3.75rem;
    border: 0.3125rem solid rgba(67,97,238,0.2);
    border-radius: 50%; border-top-color: var(--primary-color);
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-dots { display: flex; margin-top: 0.9375rem; }
.loading-dots div {
    width: 0.625rem; height: 0.625rem; margin: 0 0.3125rem;
    border-radius: 50%; background-color: var(--primary-color);
    animation: bounce 1.4s infinite ease-in-out both;
}
.loading-dots .bounce  { animation-delay: -0.32s; }
.loading-dots .bounce2 { animation-delay: -0.16s; }
@keyframes bounce { 0%,80%,100% { transform: scale(0); } 40% { transform: scale(1); } }

/* ================================================
   MAIN LOGIN CONTAINER
   ================================================ */
.login-container {
    width: 100%; min-height: 100vh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    background: linear-gradient(
        rgba(var(--background-color),0.1),
        rgba(var(--background-color),1)
    ), url('./../../uploads/wallpaper/wallpaper.jpg') no-repeat center center;
    background-size: cover;
    position: relative; padding: 1.25rem;
}

/* ================================================
   TWO COLUMN WRAPPER
   ================================================ */
.login-content-wrapper {
    display: flex; align-items: stretch; justify-content: center;
    gap: 0; width: 100%; max-width: 45rem; flex-wrap: nowrap;
    background: #fff; border-radius: 1rem;
    box-shadow: 0 0.625rem 2.5rem rgba(0,0,0,0.15); overflow: hidden;
}

/* ================================================
   LEFT SIDE
   ================================================ */
.login-info-section {
    flex: 0 0 50%;
    display: flex; flex-direction: column; justify-content: center;
    text-align: center;
    animation: slideInLeft 0.6s ease;
    background: linear-gradient(135deg,rgba(67,97,238,0.05),rgba(76,201,240,0.05));
    padding: 2rem; border-right: 0.0625rem solid #e2e8f0;
}
@keyframes slideInLeft {
    from { opacity:0; transform: translateX(-30px); }
    to   { opacity:1; transform: translateX(0); }
}
.school-crest-container { margin-bottom: 1rem; padding: 0.3125rem; }
.school-crest {
    width: 6.5rem; height: 6.5rem; object-fit: contain;
    background: #fff; padding: 0.5rem;
    box-shadow: 0 0.25rem 0.75rem rgba(67,97,238,0.1);
    transition: all 0.3s ease; border: 0.1875rem solid #fff; border-radius: 0.5rem;
}
.school-crest:hover { transform: scale(1.05) rotate(5deg); box-shadow: 0 0.375rem 1.25rem rgba(67,97,238,0.25); }
.school-name-section { text-align: center; margin-bottom: 1.5rem; }
.school-name {
    font-size: 1.3rem; font-weight: 700; color: var(--text-primary); margin-bottom: 0.3rem;
    background: linear-gradient(135deg,var(--primary-color),var(--accent-color));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    line-height: 1.3; word-wrap: break-word;
}
.school-tagline { color: var(--text-secondary); font-size: 0.85rem; font-weight: 400; margin: 0; }
.app-name { color: var(--primary-color); font-weight: 600; }
.company-info { margin-top: 1rem; }
.company-support { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 0.0625rem solid rgba(67,97,238,0.2); }
.support-heading { color: var(--text-secondary); font-size: 0.8rem; font-weight: 500; margin: 0 0 0.75rem; }
.support-item {
    display: flex; align-items: center; margin-bottom: 0.25rem;
    font-size: 0.75rem; color: var(--text-secondary); gap: 0.6rem;
}
.support-item i { color: var(--primary-color); min-width: 1rem; text-align: center; flex-shrink: 0; }
.support-item a {
    color: var(--primary-color); text-decoration: none; font-weight: 500;
    transition: all 0.3s ease; word-break: break-word;
}
.support-item a:hover { color: var(--primary-hover); }

/* ================================================
   RIGHT SIDE - LOGIN FORM
   ================================================ */
.container.login {
    flex: 0 0 50%; width: 100%; max-width: none; position: relative;
    animation: slideInRight 0.6s ease;
}
@keyframes slideInRight {
    from { opacity:0; transform: translateX(30px); }
    to   { opacity:1; transform: translateX(0); }
}
.forms { width: 100%; }
.form {
    background: #fff; border-radius: 0; box-shadow: none;
    padding: 1.25rem 1.25rem 1rem; transition: all var(--transition-speed) ease;
}
.form-header { margin-bottom: 1rem; text-align: center; position: relative; }
.product-name {
    font-size: 0.75rem; font-weight: 600; color: var(--primary-color);
    letter-spacing: 0.125rem; text-transform: uppercase;
    margin-bottom: 0.4rem; position: relative; display: inline-block;
}
.product-name::after {
    content: ''; position: absolute; bottom: -0.375rem; left: 50%;
    transform: translateX(-50%); width: 2.5rem; height: 0.125rem;
    background: linear-gradient(90deg,var(--primary-color),var(--accent-color));
    border-radius: 0.125rem;
}
.form .title {
    font-size: 1.4rem; font-weight: 700; color: var(--text-primary);
    margin-bottom: 0.2rem; display: block;
    background: linear-gradient(135deg,var(--text-primary),var(--primary-color));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.subtitle {
    color: var(--text-secondary); font-size: 0.75rem; margin-bottom: 0.8rem;
    font-weight: 400; line-height: 1.4; max-width: 15rem;
    margin-left: auto; margin-right: auto;
}

/* ── Inputs ── */
.input-field { position: relative; height: 3.5rem; margin-bottom: 0.9rem; }
.input-field input {
    width: 100%; height: 100%; border: none; outline: none;
    border-radius: 0.75rem; padding: 0 1.125rem 0 3.25rem;
    font-size: 0.875rem; font-weight: 400;
    border: 0.125rem solid var(--input-border);
    background-color: var(--input-bg);
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    box-shadow: 0 0.0625rem 0.1875rem rgba(0,0,0,0.05);
}
.input-field label {
    position: absolute; top: 50%; left: 3.25rem; transform: translateY(-50%);
    font-size: 0.875rem; font-weight: 400; pointer-events: none;
    color: var(--text-secondary);
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1); background: transparent;
}
.input-field input:focus,
.input-field input:valid {
    border-color: var(--input-border-focus);
    background-color: var(--input-bg-focus);
    box-shadow: 0 0 0 0.1875rem rgba(67,97,238,0.08), 0 0.25rem 0.75rem rgba(0,0,0,0.1);
    transform: translateY(-0.0625rem);
}
.input-field input:focus ~ label,
.input-field input:valid ~ label {
    top: -0.125rem; left: 1.125rem; font-size: 0.6875rem; font-weight: 500;
    background: var(--input-bg-focus); padding: 0.125rem 0.5rem;
    color: var(--primary-color); border-radius: 0.25rem; z-index: 1;
}
.input-field i.icon {
    position: absolute; left: 1.0625rem; top: 50%; transform: translateY(-50%);
    color: var(--text-secondary); font-size: 1.125rem; transition: all 0.3s ease; z-index: 2;
}
.input-field input:focus ~ i.icon,
.input-field input:valid ~ i.icon { color: var(--primary-color); transform: translateY(-50%) scale(1.1); }
.input-field i.showHidePw {
    position: absolute; right: 1.0625rem; top: 50%; transform: translateY(-50%);
    color: var(--text-secondary); font-size: 1.125rem; cursor: pointer;
    transition: all 0.3s ease; padding: 0.3125rem; border-radius: 0.375rem;
}
.input-field i.showHidePw:hover { color: var(--primary-color); background-color: rgba(67,97,238,0.08); }

/* Caps lock */
.caps-lock-warn {
    display: none; color: var(--error-color); font-size: 0.8125rem;
    margin: -1rem 0 1.125rem; padding: 0.5rem 0.75rem; border-radius: 0.5rem;
    background-color: rgba(231,76,60,0.1); align-items: center;
    border-left: 0.1875rem solid var(--error-color);
}
.caps-lock-warn i { margin-right: 0.5rem; }

/* Checkbox & forgot */
.checkbox-text {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 1.1rem; flex-wrap: wrap; gap: 0.75rem;
}
.checkbox-content { display: flex; align-items: center; }
.checkbox-content input {
    margin-right: 0.625rem; accent-color: var(--primary-color);
    width: 1.0625rem; height: 1.0625rem; cursor: pointer;
}
.checkbox-content label { color: var(--text-secondary); font-size: 0.8125rem; cursor: pointer; }
.forgot-link {
    color: var(--primary-color); font-size: 0.8125rem; text-decoration: none;
    font-weight: 500; transition: all 0.3s ease; padding: 0.25rem 0.5rem; border-radius: 0.375rem;
}
.forgot-link:hover { color: var(--primary-hover); background-color: rgba(67,97,238,0.08); }

/* Button */
.input-field.button { margin-bottom: 1.375rem; height: 3.125rem; }
.login-btn {
    width: 100%; height: 100%; border: none;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: #fff; font-size: 0.9375rem; font-weight: 600; border-radius: 0.75rem;
    cursor: pointer; transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0.25rem 0.75rem rgba(67,97,238,0.3);
    position: relative; overflow: hidden;
}
.login-btn:hover {
    background: linear-gradient(135deg, var(--primary-hover), var(--secondary-color));
    transform: translateY(-0.125rem);
    box-shadow: 0 0.5rem 1.25rem rgba(67,97,238,0.4);
}
.login-btn:active { transform: translateY(0); }
.btn-text { margin-right: 0.5rem; }
.login-btn i { transition: transform 0.3s ease; }
.login-btn:hover i { transform: translateX(0.3125rem); }

/* Ripple */
.ripple {
    position: absolute; width: 1.25rem; height: 1.25rem; border-radius: 50%;
    background: rgba(255,255,255,0.5); animation: ripple-animation 0.5s ease-out; pointer-events: none;
}
@keyframes ripple-animation { to { transform: scale(4); opacity: 0; } }

/* ================================================
   CONNECTION ALERT
   ================================================ */
.con-alert-wrapper {
    position: fixed; top: 1.25rem; right: 1.25rem; z-index: 999;
    animation: slide_in 0.5s ease forwards; max-width: 21.875rem; width: 100%;
}
.con-alert-wrapper .toast {
    background: #fff; padding: 1.25rem; border-radius: 0.625rem;
    border-left: 0.3125rem solid var(--success-color);
    box-shadow: 0 0.3125rem 0.9375rem rgba(0,0,0,0.1);
    display: flex; align-items: center; justify-content: space-between;
    animation: fade_in 0.5s ease forwards;
}
.toast.offline { border-color: var(--warning-color); }
.toast .content { display: flex; align-items: center; }
.content .icon {
    width: 2.5rem; height: 2.5rem; background: var(--success-color); color: #fff;
    font-size: 1.25rem; border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.toast.offline .content .icon { background: var(--warning-color); }
.content .details { margin-left: 0.9375rem; }
.details span { font-size: 1.125rem; font-weight: 600; }
.details p { color: var(--text-secondary); font-size: 0.875rem; margin-top: 0.3125rem; }
.toast .close-icon {
    width: 1.875rem; height: 1.875rem; background: #f2f2f2; color: var(--text-secondary);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.3s ease;
}
.toast .close-icon:hover { background: #e5e5e5; }
.hide-alert { display: none; }
@keyframes slide_in  { 0% { transform: translateX(100%); } 100% { transform: translateX(0); } }
@keyframes fade_in   { 0% { opacity: 0; }                  100% { opacity: 1; } }
.con-alert-wrapper.hide { animation: slide_out 0.5s ease forwards; }
@keyframes slide_out { 0% { transform: translateX(0); } 100% { transform: translateX(100%); display: none; } }

/* ================================================
   AUTOFILL
   ================================================ */
.input-field input:-webkit-autofill,
.input-field input:-webkit-autofill:hover,
.input-field input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0px 1000px var(--input-bg-focus) inset;
    transition: background-color 5000s ease-in-out 0s; border-radius: 0.75rem;
}
.input-field input:-webkit-autofill ~ label {
    top: -0.125rem; left: 1.125rem; font-size: 0.6875rem; font-weight: 500;
    background: var(--input-bg-focus); padding: 0.125rem 0.5rem;
    color: var(--primary-color); border-radius: 0.25rem; z-index: 1;
}
@keyframes onAutoFillStart  { from { content: ""; } to { content: ""; } }
@keyframes onAutoFillCancel { from { content: ""; } to { content: ""; } }
input:-webkit-autofill     { animation-name: onAutoFillStart; transition: background-color 50000s ease-in-out 0s; }
input:not(:-webkit-autofill) { animation-name: onAutoFillCancel; }

/* ================================================
   ANIMATED ICONS
   ================================================ */
.animated-icon,.pulse-icon,.rotate-icon,.bounce-icon,.glow-icon,.shake-icon,.swing-icon,.fade-icon {
    display: inline-block; margin-right: 0.375rem; font-size: 0.875rem;
}
.success-icon  { color: var(--success-color); }
.warning-icon  { color: var(--warning-color); }
.error-icon    { color: var(--error-color); }
.primary-icon  { color: var(--primary-color); }
.accent-icon   { color: var(--accent-color); }


/* ════════════════════════════════════════════════════════════
   SESSION EXPIRED TOAST
   ════════════════════════════════════════════════════════════ */
.pp-toast-wrapper {
    position: fixed;
    top: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10500;
    width: min(26rem, calc(100vw - 2rem));
    pointer-events: none;
}

.pp-toast {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    background: var(--toast-warning-bg);
    border: 1px solid var(--toast-warning-border);
    border-left: 4px solid var(--toast-warning-color);
    border-radius: 0.875rem;
    padding: 1rem 1.125rem 1.25rem;
    box-shadow:
        0 4px 6px -1px rgba(0,0,0,0.07),
        0 10px 24px -3px rgba(0,0,0,0.1);
    pointer-events: all;
    position: relative;
    overflow: hidden;
}

/* Animated icon */
.pp-toast__icon-wrap {
    position: relative;
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.0625rem;
}
.pp-toast__icon-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(245,158,11,0.15);
    animation: toast-ring-pulse 2s ease-in-out infinite;
}
@keyframes toast-ring-pulse {
    0%,100% { transform: scale(1);   opacity: 1; }
    50%      { transform: scale(1.2); opacity: 0.5; }
}
.pp-toast__icon-wrap i {
    font-size: 1.125rem;
    color: var(--toast-warning-color);
    position: relative;
    z-index: 1;
}

/* Body */
.pp-toast__body { flex: 1; min-width: 0; }
.pp-toast__title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 0.2rem;
    line-height: 1.2;
}
.pp-toast__msg {
    font-size: 0.8125rem;
    color: #b45309;
    line-height: 1.45;
    margin: 0;
}

/* Close button */
.pp-toast__close {
    flex-shrink: 0;
    width: 1.625rem;
    height: 1.625rem;
    background: rgba(245,158,11,0.12);
    border: none;
    border-radius: 50%;
    color: #b45309;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    margin-top: 0.0625rem;
    line-height: 1;
}
.pp-toast__close:hover {
    background: rgba(245,158,11,0.25);
    transform: scale(1.1);
}

/* Progress bar */
.pp-toast__progress {
    position: absolute;
    bottom: 0; left: 0;
    height: 3px;
    width: 100%;
    background: var(--toast-warning-color);
    border-radius: 0 0 0.875rem 0.875rem;
    transform-origin: left;
}


/* ════════════════════════════════════════════════════════════
   SUBSCRIPTION EXPIRED MODAL — MODERNISED
   ════════════════════════════════════════════════════════════ */
.pp-modal-backdrop {
    position: fixed; inset: 0;
    background: rgba(15, 20, 35, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    z-index: 10000; padding: 1rem;
}

.pp-modal {
    background: #ffffff;
    border-radius: 1.5rem;
    width: min(30rem, calc(100vw - 2rem));
    box-shadow:
        0 0 0 1px rgba(0,0,0,0.05),
        0 24px 64px rgba(0,0,0,0.2);
    overflow: hidden;
    position: relative;
}

/* Accent top bar */
.pp-modal__topbar {
    height: 4px;
    background: linear-gradient(90deg, var(--sub-danger), #f97316, #fbbf24);
}

/* Padding wrapper */
.pp-modal > *:not(.pp-modal__topbar) {
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Icon */
.pp-modal__icon-wrap {
    position: relative;
    width: 5rem; height: 5rem;
    margin: 2rem auto 1.5rem;
    display: flex; align-items: center; justify-content: center;
}
.pp-modal__icon-halo {
    position: absolute; inset: 0; border-radius: 50%;
    background: var(--sub-danger-soft);
    animation: modal-halo 2.5s ease-in-out infinite;
}
.pp-modal__icon-halo--2 {
    animation-delay: 0.8s;
    background: rgba(239,68,68,0.05);
}
@keyframes modal-halo {
    0%,100% { transform: scale(1);   opacity: 1; }
    50%      { transform: scale(1.3); opacity: 0; }
}
.pp-modal__icon-circle {
    position: relative; z-index: 1;
    width: 3.5rem; height: 3.5rem; border-radius: 50%;
    background: var(--sub-danger-soft);
    border: 1.5px solid var(--sub-danger-border);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 16px rgba(239,68,68,0.15);
}
.pp-modal__icon-circle i {
    font-size: 1.625rem;
    color: var(--sub-danger);
}

/* Content */
.pp-modal__content {
    text-align: center;
    padding-bottom: 1.5rem;
}
.pp-modal__badge {
    display: inline-flex; align-items: center;
    background: var(--sub-danger-soft);
    border: 1px solid var(--sub-danger-border);
    color: var(--sub-danger);
    font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em;
    text-transform: uppercase; border-radius: 100px;
    padding: 0.25rem 0.75rem; margin-bottom: 0.875rem;
}
.pp-modal__title {
    font-size: 1.625rem; font-weight: 800;
    color: #111827;
    line-height: 1.25; margin-bottom: 0.75rem;
}
.pp-modal__msg {
    font-size: 0.9rem; color: #6b7280; line-height: 1.65;
    max-width: 22rem; margin: 0 auto;
}

/* Contact cards */
.pp-modal__contacts {
    display: flex; flex-direction: column; gap: 0.625rem;
    padding-bottom: 1.5rem;
}
.pp-contact-card {
    display: flex; align-items: center; gap: 0.875rem;
    background: #f9fafb; border: 1px solid #f3f4f6;
    border-radius: 0.875rem; padding: 0.875rem 1rem;
    text-decoration: none; color: inherit;
    transition: background 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.pp-contact-card:hover {
    background: #f3f4f6; border-color: #e5e7eb;
    transform: translateX(3px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.pp-contact-card__icon {
    width: 2.5rem; height: 2.5rem; flex-shrink: 0;
    border-radius: 0.625rem;
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
}
.pp-contact-card__icon--phone   { background: rgba(67,97,238,0.08); color: var(--primary-color); }
.pp-contact-card__icon--whatsapp{ background: rgba(37,211,102,0.1);  color: #25d366; }
.pp-contact-card__icon--email   { background: rgba(249,115,22,0.08); color: #f97316; }

.pp-contact-card__info { flex: 1; min-width: 0; }
.pp-contact-card__label {
    display: block; font-size: 0.7rem; font-weight: 600;
    letter-spacing: 0.06em; text-transform: uppercase;
    color: #9ca3af; margin-bottom: 0.15rem;
}
.pp-contact-card__value {
    display: block; font-size: 0.875rem; font-weight: 600;
    color: #1f2937; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pp-contact-card__arrow {
    font-size: 0.7rem; color: #d1d5db;
    transition: color 0.2s, transform 0.2s;
}
.pp-contact-card:hover .pp-contact-card__arrow { color: #9ca3af; transform: translateX(2px); }

/* CTA button */
.pp-modal__btn {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    width: calc(100% - 4rem);
    margin: 0 2rem 2rem;
    height: 3rem;
    border: none; border-radius: 0.875rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: #fff; font-size: 0.9375rem; font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(67,97,238,0.3);
    transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
}
.pp-modal__btn:hover {
    background: linear-gradient(135deg, var(--primary-hover), var(--secondary-color));
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(67,97,238,0.4);
}
.pp-modal__btn:active { transform: translateY(0); }
.pp-modal__btn i { font-size: 1.125rem; }


/* ================================================
   RESPONSIVE
   ================================================ */
@media only screen and (max-width: 1024px) {
    .login-content-wrapper { flex-direction: column; max-width: 100%; }
    .login-info-section    { flex: 0 0 100%; min-width: 100%; border-right: none; border-bottom: 0.0625rem solid #e2e8f0; }
    .container.login       { flex: 0 0 100%; min-width: 100%; }
}

@media only screen and (max-width: 768px) {
    .login-container        { padding: 1rem; }
    .login-content-wrapper  { border-radius: 0.75rem; flex-direction: column; }
    .login-info-section     { padding: 1.5rem; border-right: none; border-bottom: 0.0625rem solid #e2e8f0; order: 2; }
    .container.login        { order: 1; }
    .school-crest           { width: 5.5rem; height: 5.5rem; }
    .form                   { padding: 1.5rem 1.5rem 1.25rem; }
    .pp-modal > *:not(.pp-modal__topbar) { padding-left: 1.5rem; padding-right: 1.5rem; }
    .pp-modal__btn          { width: calc(100% - 3rem); margin: 0 1.5rem 1.75rem; }
}

@media only screen and (max-width: 480px) {
    .login-container { padding: 0.75rem; overflow: hidden; height: 100vh; }
    .login-info-section { display: none; }
    .login-content-wrapper {
        justify-content: center; max-width: 100%; flex-direction: column;
        border-radius: 0.5rem; width: 100%; overflow-y: auto;
        max-height: calc(100vh - 1.5rem);
    }
    .container.login { flex: 0 0 100%; order: 2; width: 100%; max-width: 100%; }
    .form { border-radius: 0; padding: 1rem 0.9rem 0.9rem; }
    .input-field { height: 4.5rem; margin-bottom: 0.8rem; }
    .input-field.button { height: 3rem; margin-bottom: 0.8rem; }

    /* Toast on small screens */
    .pp-toast-wrapper { top: 0.75rem; }
    .pp-toast { padding: 0.875rem 1rem 1.125rem; border-radius: 0.75rem; }

    /* Modal on small screens */
    .pp-modal { border-radius: 1.25rem; }
    .pp-modal__icon-wrap { margin-top: 1.75rem; }
    .pp-modal__title { font-size: 1.375rem; }
    .pp-modal__msg { font-size: 0.85rem; }
    .pp-modal > *:not(.pp-modal__topbar) { padding-left: 1.25rem; padding-right: 1.25rem; }
    .pp-modal__btn { width: calc(100% - 2.5rem); margin: 0 1.25rem 1.5rem; font-size: 0.9rem; }
}