/* Default global css */
.modal-footer.login {
    justify-content: center;
}

/* Modern Modal Styling for Public-4 */
#public-4 #dm .modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

#public-4 #dm .modal-header {
    background: linear-gradient(135deg, #f56565 0%, #c53030 100%);
    color: white;
    border-radius: 16px 16px 0 0;
    border-bottom: none;
    padding: 1.25rem 1.5rem;
}

#public-4 #dm .modal-title {
    font-weight: 600;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

#public-4 #dm .modal-title i {
    font-size: 1.5rem;
}

#public-4 #dm .close {
    color: white;
    opacity: 0.9;
    font-size: 1.5rem;
    transition: opacity 0.3s ease;
}

#public-4 #dm .close:hover {
    opacity: 1;
}

#public-4 #dm .modal-body {
    padding: 1.5rem;
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
}

#public-4 #dm .modal-footer {
    border-top: 1px solid #e2e8f0;
    padding: 1rem 1.5rem;
}

#public-4 #dm .btn-primary {
    background: linear-gradient(135deg, #00A2E9 0%, #0088cc 100%);
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

#public-4 #dm .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 162, 233, 0.4);
}

.captcha-hidden {
    display: none;
}

.equal-sign {
    font-size: 22px;
}

input#c {
    width: 100%;
}

.c-info {
    font-size: 11px;
    text-align: left;
}

/* template: public1.html */
#public-1 {
    background-image: url('../img/back.jpg');
    background-size: cover;
    background-position: center;
}

#public-1 .card.bg-trans {
    background-color: rgba(255, 255, 255, 0.8);
}

/* template: public2.html — SIDABERES login mockup */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

#public-2 {
    --p2-primary: #2563eb;
    --p2-primary-dark: #1d4ed8;
    --p2-primary-light: #3b82f6;
    --p2-bg: #f0f7ff;
    --p2-text: #1e293b;
    --p2-muted: #64748b;
    --p2-border: #e2e8f0;
    --p2-radius: 16px;
    --p2-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--p2-text);
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

#public-2 i.fa,
#public-2 i.fas,
#public-2 i.far,
#public-2 i.fab {
    font-style: normal;
    line-height: 1;
    vertical-align: middle;
}

#public-2 .p2-page {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    width: 100%;
    display: flex;
    flex-direction: column;
}

#public-2 .p2-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-color: #e8f2ff;
    background-image:
        linear-gradient(135deg, rgba(238, 246, 255, 0.42) 0%, rgba(248, 251, 255, 0.28) 45%, rgba(232, 242, 255, 0.38) 100%),
        url('../img/back2.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

#public-2 .p2-bg__wave {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.22;
}

#public-2 .p2-bg__wave--1 {
    width: 420px;
    height: 420px;
    top: -120px;
    left: -80px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.35), transparent 70%);
}

#public-2 .p2-bg__wave--2 {
    width: 360px;
    height: 360px;
    bottom: 80px;
    right: -60px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2), transparent 70%);
}

#public-2 .p2-bg__dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(37, 99, 235, 0.06) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.25;
}

#public-2 .p2-main {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 1.5rem 2rem;
    gap: 1.5rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

#public-2 .p2-left {
    flex: 1 1 58%;
    min-width: 0;
    flex-direction: column;
    padding-right: 1rem;
}

#public-2 .p2-pemkab {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
}

#public-2 .p2-pemkab__logo {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    object-fit: contain;
    object-position: center center;
    display: block;
}

#public-2 .p2-pemkab__text {
    display: flex;
    flex-direction: column;
    font-size: 0.7rem;
    line-height: 1.3;
    color: var(--p2-muted);
    letter-spacing: 0.04em;
}

#public-2 .p2-pemkab__text strong {
    font-weight: 700;
    color: var(--p2-text);
}

#public-2 .p2-hero__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--p2-primary);
    letter-spacing: -0.02em;
    line-height: 1.1;
    margin: 0 0 0.35rem;
}

#public-2 .p2-hero__subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--p2-text);
    margin: 0 0 0.75rem;
}

#public-2 .p2-hero__desc {
    font-size: 0.9rem;
    color: var(--p2-muted);
    line-height: 1.6;
    max-width: 520px;
    margin: 0 0 1.25rem;
}

#public-2 .p2-features {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    max-width: 520px;
}

#public-2 .p2-feature {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 0.45rem 0.55rem;
    text-align: left;
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(8px);
    min-height: 0;
}

#public-2 .p2-feature__icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    line-height: 1;
}

#public-2 .p2-feature__icon .fa {
    font-size: 20px;
    width: 40px;
    height: 40px;
    display: block;
    text-align: center;
    line-height: 40px;
}

#public-2 .p2-feature__icon .fa::before {
    vertical-align: middle;
}

#public-2 .p2-feature__icon--blue {
    background: #dbeafe;
    color: #3b82f6;
}

#public-2 .p2-feature__icon--teal {
    background: #ccfbf1;
    color: #14b8a6;
}

#public-2 .p2-feature__icon--violet {
    background: #ede9fe;
    color: #8b5cf6;
}

#public-2 .p2-feature__icon--amber {
    background: #fef3c7;
    color: #f59e0b;
}

#public-2 .p2-feature__text {
    min-width: 0;
}

#public-2 .p2-feature strong {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--p2-text);
    line-height: 1.15;
}

#public-2 .p2-feature span {
    display: block;
    font-size: 0.62rem;
    color: var(--p2-muted);
    line-height: 1.25;
    margin-top: 0.1rem;
}

#public-2 .p2-visual {
    position: relative;
    height: 200px;
    margin-bottom: 1rem;
}

#public-2 .p2-visual__building {
    position: absolute;
    right: 0;
    top: 0;
    width: 72%;
    height: 100%;
    border-radius: var(--p2-radius);
    overflow: hidden;
    box-shadow: var(--p2-shadow);
}

#public-2 .p2-visual__building img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

#public-2 .p2-visual__charts {
    position: absolute;
    left: 0;
    bottom: 0;
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
}

#public-2 .p2-chart {
    display: block;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
}

#public-2 .p2-chart--pie {
    width: 56px;
    height: 56px;
    background: conic-gradient(#2563eb 0 55%, #93c5fd 55% 100%);
    border: 3px solid #fff;
}

#public-2 .p2-chart--bars {
    width: 48px;
    height: 72px;
    background: linear-gradient(to top, #1d4ed8 0%, #1d4ed8 35%, #3b82f6 35%, #3b82f6 60%, #93c5fd 60%, #93c5fd 100%);
    border: 3px solid #fff;
}

#public-2 .p2-chart--line {
    width: 100px;
    height: 48px;
    background: linear-gradient(180deg, rgba(37, 99, 235, 0.15), rgba(37, 99, 235, 0.05));
    border: 2px solid rgba(37, 99, 235, 0.35);
    position: relative;
}

#public-2 .p2-chart--line::after {
    content: '';
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 10px;
    height: 2px;
    background: linear-gradient(90deg, #2563eb, #60a5fa, #2563eb);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.6);
}

#public-2 .p2-tagline {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--p2-primary-dark);
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 999px;
}

#public-2 .p2-tagline i {
    color: #ef4444;
    font-size: 0.65rem;
    line-height: 1;
    flex-shrink: 0;
}

#public-2 .p2-right {
    flex: 0 0 auto;
    width: 100%;
    max-width: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#public-2 .p2-login-card {
    width: 100%;
    background: #fff;
    border-radius: 20px;
    box-shadow: var(--p2-shadow);
    padding: 2rem 2rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

#public-2 .p2-login-card__logo {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    padding: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    display: grid;
    place-items: center;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
    overflow: hidden;
}

#public-2 .p2-login-card__logo img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    object-position: center center;
    display: block;
    margin: 0;
}

#public-2 .p2-login-card__head {
    text-align: center;
    margin-bottom: 1.25rem;
}

#public-2 .p2-login-card__title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--p2-text);
    margin: 0 0 0.35rem;
}

#public-2 .p2-login-card__lead {
    font-size: 0.85rem;
    color: var(--p2-muted);
    margin: 0;
    line-height: 1.5;
}

#public-2 .p2-field {
    margin-bottom: 1rem;
}

#public-2 .p2-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--p2-text);
    margin-bottom: 0.35rem;
}

#public-2 .p2-input-wrap {
    display: flex;
    align-items: center;
    min-height: 46px;
    background: #f8fafc;
    border: 2px solid var(--p2-border);
    border-radius: 12px;
    transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

#public-2 .p2-input-wrap:focus-within {
    background: #fff;
    border-color: var(--p2-primary-light);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

#public-2 .p2-input-icon {
    flex: 0 0 2.75rem;
    width: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 0.875rem;
    pointer-events: none;
    transition: color 0.2s;
}

#public-2 .p2-input-wrap:focus-within .p2-input-icon {
    color: var(--p2-primary);
}

#public-2 .p2-input-icon i {
    font-size: 1em;
    line-height: 1;
    display: block;
}

#public-2 .p2-input {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    padding: 0.65rem 0.75rem;
    font-size: 0.9rem;
    color: var(--p2-text);
    background: transparent;
    border: none;
    border-radius: 0;
    outline: none;
    box-shadow: none;
    transition: none;
}

#public-2 .p2-input:focus {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
}

#public-2 .p2-input-wrap--has-toggle .p2-input {
    padding-right: 0.25rem;
}

#public-2 .p2-input::placeholder {
    color: #94a3b8;
}

#public-2 .p2-password-toggle {
    flex: 0 0 2.25rem;
    width: 2.25rem;
    height: 2.25rem;
    margin-right: 0.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #94a3b8;
    padding: 0;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

#public-2 .p2-password-toggle i {
    font-size: 0.875rem;
    line-height: 1;
    display: block;
}

#public-2 .p2-password-toggle:hover {
    color: var(--p2-primary);
}

#public-2 .p2-form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.8rem;
}

#public-2 .p2-remember {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--p2-muted);
    cursor: pointer;
    margin: 0;
}

#public-2 .p2-remember input {
    width: 15px;
    height: 15px;
    accent-color: var(--p2-primary);
}

#public-2 .p2-forgot {
    color: var(--p2-primary);
    font-weight: 600;
    text-decoration: none;
}

#public-2 .p2-forgot:hover {
    color: var(--p2-primary-dark);
    text-decoration: underline;
}

#public-2 .p2-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 12px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    margin-bottom: 0.65rem;
}

#public-2 .p2-btn--primary {
    color: #fff;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

#public-2 .p2-btn--primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.45);
}

#public-2 .p2-btn--outline {
    color: var(--p2-primary);
    background: #fff;
    border-color: var(--p2-primary-light);
}

#public-2 .p2-btn--outline:hover {
    background: rgba(37, 99, 235, 0.06);
}

#public-2 .p2-btn i {
    font-size: 0.9rem;
    line-height: 1;
    flex-shrink: 0;
    display: block;
}

#public-2 .p2-login-card__secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: var(--p2-muted);
    margin: 0.75rem 0 0;
}

#public-2 .p2-login-card__secure i {
    color: var(--p2-primary);
    font-size: 0.8rem;
    line-height: 1;
    flex-shrink: 0;
}

#public-2 .p2-stats {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem 0;
    padding: 0.85rem 1.5rem;
    background: rgba(255, 255, 255, 0.85);
    border-top: 1px solid var(--p2-border);
    backdrop-filter: blur(12px);
}

#public-2 .p2-stats__item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.35rem 1.25rem;
}

#public-2 .p2-stats__icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--p2-primary);
    font-size: 0.9rem;
}

#public-2 .p2-stats__item strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--p2-text);
    line-height: 1.2;
}

#public-2 .p2-stats__item span {
    display: block;
    font-size: 0.7rem;
    color: var(--p2-muted);
}

#public-2 .p2-stats__divider {
    width: 1px;
    height: 36px;
    background: var(--p2-border);
}

#public-2 #dm .modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

#public-2 #dm .modal-header {
    background: linear-gradient(135deg, #f56565 0%, #c53030 100%);
    color: white;
    border-radius: 16px 16px 0 0;
    border-bottom: none;
}

#public-2 #dm .btn-primary {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    border: none;
    border-radius: 8px;
}

@media (max-width: 991px) {
    #public-2 .p2-main {
        flex-direction: column;
        padding: 1rem;
        align-items: stretch;
    }

    #public-2 .p2-left {
        padding-right: 0;
        display: block !important;
    }

    #public-2 .p2-features {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #public-2 .p2-visual {
        height: 160px;
    }

    #public-2 .p2-right {
        max-width: none;
    }
}

@media (max-width: 576px) {
    #public-2 .p2-features {
        max-width: none;
    }

    #public-2 .p2-stats__divider {
        display: none;
    }

    #public-2 .p2-stats__item {
        flex: 1 1 45%;
        justify-content: center;
        padding: 0.5rem;
    }

    #public-2 .p2-login-card {
        padding: 1.5rem 1.25rem;
    }
}

/* template: public3.hmtl */
#public-3 {
    /* background-image: url('../img/back2.jpg');
    background-size: cover;
    background-position: center; */
    background-color: #fff;
}

#public-3 .bg-dark-trans {
    background-color: rgba(48, 68, 79, .9);
}

#public-3-form .form-control {
    padding: .75rem .75rem;
    color: #f8f8f8;
    background-color: transparent;
    border: 0px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

#public-3-form .form-control:focus {
    color: #fff;
    background-color: transparent;
    border-color: #8ad4ee;
    outline: 0;
    box-shadow: none;
}

#public-3-form input:-webkit-autofill,
#public-3-form input:-webkit-autofill:hover,
#public-3-form input:-webkit-autofill:focus #public-3-form input:-webkit-autofill {
    background-color: transparent !important;
    background-image: none !important;
    color: #fff !important;
}

/* ============================================
   PUBLIC-4 MODERN LOGIN DESIGN
   ============================================ */

#public-4 {
    background: linear-gradient(135deg, #00A2E9 0%, #0088cc 100%);
    background-image: url('../img/back.jpg?v=002');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    position: relative;
    overflow: hidden;
}

/* Background Decoration */
#public-4 .bg-decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 162, 233, 0.8) 0%, rgba(0, 136, 204, 0.8) 100%);
    z-index: 0;
}

#public-4 .bg-decoration::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

#public-4 .bg-decoration::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -30%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(149, 193, 218, 0.2) 0%, transparent 70%);
    animation: pulse 20s ease-in-out infinite reverse;
}

@keyframes pulse {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.5; }
    50% { transform: scale(1.1) rotate(180deg); opacity: 0.8; }
}

/* Login Container */
#public-4 .login-container {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.1);
    border-radius: 24px !important;
    overflow: hidden;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Brand Section (Left Side) */
#public-4 .brand-section {
    background: linear-gradient(135deg, #00A2E9 0%, #0088cc 50%, #66C5F0 100%);
    background-image: url('../img/back2.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    position: relative;
    min-height: 500px;
    border-radius: 24px 0 0 24px;
}

#public-4 .brand-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 162, 233, 0.85) 0%, rgba(0, 136, 204, 0.85) 50%, rgba(102, 197, 240, 0.85) 100%);
    z-index: 0;
}

#public-4 .brand-content {
    position: relative;
    z-index: 1;
}

#public-4 .brand-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

#public-4 .brand-title {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 1px;
    line-height: 1.2;
}

#public-4 .brand-subtitle {
    font-size: 0.95rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    line-height: 1.5;
}

#public-4 .brand-divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.5));
    border-radius: 2px;
    margin: 1.5rem 0;
}

#public-4 .brand-footer h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

#public-4 .brand-footer i {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Login Form Section (Right Side) */
#public-4 .login-form-section {
    background: #ffffff;
    border-radius: 0 24px 24px 0;
    min-height: 500px;
}

#public-4 .login-form-wrapper {
    max-width: 380px;
    margin: 0 auto;
    padding: 2rem 2.5rem !important;
}

#public-4 .login-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.25rem;
}

#public-4 .login-subtitle {
    font-size: 0.85rem;
    color: #718096;
}

/* Form Labels */
#public-4 .form-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
}

#public-4 .form-label i {
    font-size: 0.875rem;
    color: #00A2E9;
    margin-right: 0.5rem;
}

/* Input Wrapper */
#public-4 .input-wrapper {
    position: relative;
}

#public-4 .modern-input {
    width: 100%;
    padding: 0.65rem 0.85rem 0.65rem 2.5rem;
    font-size: 0.9rem;
    color: #2d3748;
    background-color: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.3s ease;
    outline: none;
}

#public-4 .modern-input:focus {
    background-color: #ffffff;
    border-color: #00A2E9;
    box-shadow: 0 0 0 3px rgba(0, 162, 233, 0.1);
    transform: translateY(-2px);
}

#public-4 .modern-input::placeholder {
    color: #a0aec0;
    font-size: 0.9rem;
}

#public-4 .input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #a0aec0;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    pointer-events: none;
}

#public-4 .modern-input:focus + .input-icon,
#public-4 .input-wrapper:focus-within .input-icon {
    color: #00A2E9;
}

/* Password Toggle */
#public-4 .password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #a0aec0;
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.3s ease;
    z-index: 10;
}

#public-4 .password-toggle:hover {
    color: #00A2E9;
}

#public-4 .password-toggle:focus {
    outline: none;
}

/* Login Button */
#public-4 .btn-login {
    width: 100%;
    padding: 0.65rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #00A2E9 0%, #0088cc 100%);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 162, 233, 0.4);
    position: relative;
    overflow: hidden;
}

#public-4 .btn-login::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

#public-4 .btn-login:hover::before {
    left: 100%;
}

#public-4 .btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 162, 233, 0.5);
}

#public-4 .btn-login:active {
    transform: translateY(0);
}

#public-4 .btn-icon {
    transition: transform 0.3s ease;
}

#public-4 .btn-login:hover .btn-icon {
    transform: translateX(4px);
}

/* Captcha Styling */
#public-4 .captcha-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #f7fafc;
    padding: 0.75rem;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
}

#public-4 .captcha-image-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

#public-4 .captcha-image {
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
    border: 2px solid #e2e8f0;
}

#public-4 .captcha-image:hover {
    transform: scale(1.05);
}

#public-4 .c-info {
    font-size: 0.75rem;
    color: #718096;
    text-align: center;
    cursor: pointer;
    transition: color 0.3s ease;
}

#public-4 .c-info:hover {
    color: #00A2E9;
}

#public-4 .c-info i {
    font-size: 0.7rem;
}

#public-4 .captcha-equals {
    font-size: 1.5rem;
    font-weight: 600;
    color: #4a5568;
    padding: 0 0.5rem;
}

#public-4 .captcha-input-wrapper {
    flex: 1;
}

#public-4 .captcha-input {
    padding-left: 1rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

/* Help Text */
#public-4 .login-help {
    padding-top: 0.75rem;
    border-top: 1px solid #e2e8f0;
}

#public-4 .login-help small {
    font-size: 0.75rem;
    line-height: 1.4;
}

#public-4 .login-help i {
    color: #00A2E9;
}

/* Autofill Styling */
#public-4 .modern-input:-webkit-autofill,
#public-4 .modern-input:-webkit-autofill:hover,
#public-4 .modern-input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 30px #f7fafc inset !important;
    -webkit-text-fill-color: #2d3748 !important;
    border-color: #e2e8f0 !important;
}

#public-4 .modern-input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 30px #ffffff inset, 0 0 0 3px rgba(0, 162, 233, 0.1) !important;
    border-color: #00A2E9 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    #public-4 .login-container {
        max-width: 95% !important;
        border-radius: 20px !important;
    }
    
    #public-4 .brand-section {
        min-height: 250px;
        border-radius: 20px 20px 0 0;
    }
    
    #public-4 .login-form-section {
        border-radius: 0 0 20px 20px;
        min-height: auto;
    }
    
    #public-4 .brand-title {
        font-size: 1.5rem;
    }
    
    #public-4 .brand-subtitle {
        font-size: 0.85rem;
    }
    
    #public-4 .login-title {
        font-size: 1.5rem;
    }
    
    #public-4 .login-form-wrapper {
        padding: 2rem 1.5rem !important;
    }
}

@media (max-width: 576px) {
    #public-4 .brand-logo {
        width: 60px;
        height: 60px;
    }
    
    #public-4 .brand-title {
        font-size: 1.5rem;
    }
    
    #public-4 .login-title {
        font-size: 1.5rem;
    }
}