body {
    color: #000;
    overflow-x: hidden;
    overflow-y: auto;
    height: auto;
    min-height: 100vh;
    background: #E9E7D6;
    background-attachment: fixed;
    font-family: 'Muli', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    position: relative;
}

body.auth-page {
    overflow-y: auto;
    height: auto;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(24, 54, 97, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(24, 54, 97, 0.05) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.site-wrap {
    position: relative;
    z-index: 1;
    width: 100%;
}

body.auth-page .site-wrap > .container-fluid {
    margin-top: auto;
    margin-bottom: auto;
}

.card0 {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100%;
    margin: 0 auto;
}

.card0:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 65px rgba(0, 0, 0, 0.15);
}

.card1 {
    height: 100%;
    vertical-align: middle;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: linear-gradient(135deg, #183661 0%, #2c5aa0 100%); */
    position: relative;
    overflow: hidden;
}

.card1::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
    50% { transform: translate(-50%, -50%) rotate(180deg); }
}

.card2 {
    margin: 0px 40px;
    padding: 40px 30px;
}

.logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.image {
    width: 380px;
    height: 300px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.image:hover {
    transform: scale(1.02);
}

.border-line {
    border-right: 1px solid rgba(90, 96, 128, 0.469);
}

/* Legacy social icons - now replaced with service links */

.line {
    height: 1px;
    width: 45%;
    background-color: #E0E0E0;
    margin-top: 10px
}

.or {
    width: 10%;
    font-weight: bold
}

.text-sm {
    font-size: 14px !important
}

::placeholder {
    color: #BDBDBD;
    opacity: 1;
    font-weight: 300
}

:-ms-input-placeholder {
    color: #BDBDBD;
    font-weight: 300
}

::-ms-input-placeholder {
    color: #BDBDBD;
    font-weight: 300
}

.form-group {
    position: relative;
    margin-bottom: 10px;
}

.form-group label {
    position: absolute;
    top: 12px;
    left: 12px;
    color: #999;
    font-size: 13px;
    transition: all 0.3s ease;
    pointer-events: none;
    background: white;
    padding: 0 4px;
    display: flex;
    align-items: center;
    border-radius: 4px;
}

.form-group label svg {
    width: 14px;
    height: 14px;
    margin-right: 5px;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.form-group input.active + label,
.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label {
    top: -6px;
    left: 8px;
    font-size: 11px;
    color: #183661;
    font-weight: 600;
}

.form-group input:focus + label svg,
.form-group input:not(:placeholder-shown) + label svg {
    opacity: 1;
    color: #183661;
    width: 14px;
    height: 14px;
    margin-right: 4px;
}

input,
textarea {
    padding: 8px 10px;
    border: 2px solid #e1e8ed;
    border-radius: 10px;
    margin-bottom: 1px;
    margin-top: 1px;
    width: 100%;
    box-sizing: border-box;
    color: #2C3E50;
    font-size: 14px;
    letter-spacing: 0.3px;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

input::placeholder {
    color: #BDBDBD;
    opacity: 1;
    font-weight: 300;
}

input:focus,
textarea:focus {
    border: 2px solid var(--stw-navy);
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px var(--stw-focus-ring);
}

input:hover {
    border-color: #667eea;
}

button:focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    outline-width: 0
}

a {
    color: inherit;
    cursor: pointer
}

.btn-blue {
    background: var(--stw-green);
    width: 100%;
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 12px 15px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 45px;
    white-space: nowrap;
}

.btn-blue::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;
}

.btn-blue:hover::before {
    left: 100%;
}

.btn-blue:hover {
    background: var(--stw-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(60, 160, 96, 0.3);
    cursor: pointer;
}

.btn-blue:active {
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(24, 54, 97, 0.2);
}

.btn-blue svg {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
}

.system-title {
    color: var(--stw-navy);
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.system-subtitle {
    color: var(--stw-text-muted);
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 0;
}

.bg-blue {
    color: #fff;
    background-color: var(--stw-navy)
}

/* Enhanced link styling */
.login-links {
    margin-top: 25px;
}

.login-links a {
    color: var(--stw-navy);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.login-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--stw-orange);
    transition: width 0.3s ease;
}

.login-links a:hover,
.login-links a:focus-visible {
    color: var(--stw-orange);
}

.login-links a:hover::after {
    width: 100%;
}

.btn-blue:focus-visible,
.login-links a:focus-visible {
    outline: 3px solid var(--stw-focus-ring);
    outline-offset: 2px;
}

/* Link icons styling */
.text-success svg,
.text-danger svg {
    width: 14px;
    height: 14px;
    margin-right: 4px;
    vertical-align: middle;
}

/* Enhanced Service Links Styling */
.social-contact {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: flex-end;
}

.service-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.9);
    font-size: 12px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    opacity: 0;
}

.service-link::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;
}

.service-link:hover::before {
    left: 100%;
}

.service-link svg {
    width: 16px;
    height: 16px;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.service-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

/* Individual service link colors */
.service-link.academic:hover {
    background: rgba(52, 152, 219, 0.3);
    border-color: rgba(52, 152, 219, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.service-link.library:hover {
    background: rgba(155, 89, 182, 0.3);
    border-color: rgba(155, 89, 182, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(155, 89, 182, 0.3);
}

.service-link.elearning:hover {
    background: rgba(46, 204, 113, 0.3);
    border-color: rgba(46, 204, 113, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

.service-link:hover {
    color: white;
}

.service-link:hover svg {
    opacity: 1;
    transform: scale(1.1);
}

.service-link:hover .service-label {
    letter-spacing: 0.8px;
}

/* Service links animation on load */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-link {
    animation: fadeInUp 0.6s ease forwards;
}

.service-link:nth-child(1) { animation-delay: 0.1s; }
.service-link:nth-child(2) { animation-delay: 0.2s; }
.service-link:nth-child(3) { animation-delay: 0.3s; }

/* Legacy social media effects - now replaced with service links */

/* Welcome text styling */
.welcome-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.welcome-heading {
    color: white;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media screen and (max-width: 991px) {
    body {
        background: #E9E7D6;
    }
    
    .logo {
        width: 100px;
        height: 100px;
        margin-left: 0px;
    }

    .image {
        width: 280px;
        height: 200px;
    }

    .border-line {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        padding-bottom: 30px;
        margin-bottom: 30px;
    }

    .card2 {
        border-top: none !important;
        margin: 0px 15px;
        padding: 35px 25px;
    }
    
    .card0 {
        margin: 20px;
        border-radius: 15px;
    }
    
    .btn-blue {
        width: 100%;
        font-size: 15px;
        padding: 12px 15px;
        min-height: 48px;
    }
    
    .welcome-heading {
        font-size: 24px;
    }
    
    .welcome-text {
        font-size: 16px;
    }
    
    /* Service links responsive for medium screens */
    .social-contact {
        gap: 0.8rem;
        justify-content: center;
        margin-top: 1rem;
    }
    
    .service-link {
        padding: 7px 11px;
        font-size: 11px;
    }
    
    .service-link svg {
        width: 15px;
        height: 15px;
    }
    
    .service-label {
        font-size: 10px;
    }
}

@media screen and (min-width: 992px) and (max-height: 720px) {
    body.auth-page .site-wrap > .container-fluid {
        padding-top: 0.75rem !important;
        padding-bottom: 0.75rem !important;
    }

    .card2 {
        padding: 24px 26px;
    }

    .logo {
        width: 82px;
        height: 82px;
    }

    .image {
        width: 330px;
        height: auto;
        max-height: 230px;
        object-fit: contain;
    }

    .card1 .row {
        margin-top: 1rem !important;
        margin-bottom: 1rem !important;
    }

    .form-group {
        margin-bottom: 6px;
    }

    .btn-blue {
        min-height: 40px;
        padding: 9px 12px;
    }

    .bg-blue {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }

    .bg-blue p.mb-4 {
        margin-bottom: 0.75rem !important;
    }

    .bg-blue img {
        max-height: 34px;
        width: auto;
    }
}

@media screen and (max-width: 576px) {
    body.auth-page .site-wrap > .container-fluid {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }

    .card0 {
        margin: 8px;
        border-radius: 12px;
    }
    
    .card2 {
        margin: 0px 10px;
        padding: 20px 16px;
    }

    .logo {
        width: 78px;
        height: 78px;
    }
    
    .image {
        width: 220px;
        height: 160px;
    }
    
    input, textarea {
        font-size: 14px;
        padding: 12px 15px;
    }
    
    .form-group label {
        font-size: 13px;
    }
    
    .form-group label svg {
        width: 14px;
        height: 14px;
        margin-right: 4px;
    }
    
    .form-group input:focus + label svg,
    .form-group input:not(:placeholder-shown) + label svg {
        width: 12px;
        height: 12px;
        margin-right: 3px;
    }
    
    .system-title {
        font-size: 16px;
    }
    
    .system-subtitle {
        font-size: 13px;
    }
    
    /* Service links responsive */
    .social-contact {
        gap: 0.5rem;
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 1rem;
    }
    
    .service-link {
        padding: 6px 10px;
        font-size: 10px;
    }
    
    .service-link svg {
        width: 14px;
        height: 14px;
    }
    
    .service-label {
        font-size: 10px;
        display: none; /* Hide labels on mobile for cleaner look */
    }
    
    /* Mobile auth links styling */
    .auth-links {
        margin-bottom: 0.5rem;
    }
    
    .auth-link-item {
        line-height: 1.4;
        display: block;
    }
    
    /* Mobile copyright styling */
    .mobile-copyright {
        margin-top: 1rem;
        margin-bottom: 0.5rem;
        font-size: 11px;
    }

    .bg-blue {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
}

/* Alert positioning and styling */
.alert-container {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    z-index: 9999;
    padding: 0 15px;
}

.alert-container .alert {
    margin-bottom: 0;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: none;
    backdrop-filter: blur(10px);
    animation: slideDown 0.5s ease-out;
}

.alert-container .alert-success {
    background: rgba(46, 204, 113, 0.95);
    color: white;
}

.alert-container .alert-danger {
    background: rgba(231, 76, 60, 0.95);
    color: white;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile responsive alert positioning */
@media screen and (max-width: 576px) {
    .alert-container {
        top: 10px;
        width: 95%;
        padding: 0 10px;
    }
    
    .alert-container .alert {
        font-size: 14px;
        padding: 12px 15px;
    }
}

/* Password toggle icon animations */
#toggle-password {
    transition: all 0.3s ease;
}

#toggle-password:hover {
    transform: translateY(-50%) scale(1.1);
}

#toggle-password:active {
    transform: translateY(-50%) scale(0.95);
}

#toggle-icon {
    transition: all 0.2s ease;
}

#toggle-icon svg {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Smooth color transition for icon state changes */
#toggle-password svg {
    transition: color 0.3s ease, transform 0.2s ease;
}

/* Subtle pulse animation when toggling */
@keyframes iconPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

#toggle-password.toggling #toggle-icon {
    animation: iconPulse 0.3s ease-in-out;
}

/* Loading animation for better UX */
.btn-blue.loading {
    pointer-events: none;
    opacity: 0.7;
}

.btn-blue.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Compact SIAKAD login */
.siakad-login {
    width: min(1080px, calc(100% - 32px));
    padding: 24px 0 !important;
}

.siakad-login .card0 {
    border: 1px solid rgba(24, 54, 97, 0.1);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 22px 60px rgba(24, 54, 97, 0.14);
    transform: none;
}

.siakad-login .card0:hover {
    transform: none;
    box-shadow: 0 22px 60px rgba(24, 54, 97, 0.14);
}

.siakad-login .login-main-row {
    min-height: 512px;
    margin: 0;
}

.siakad-login .login-visual {
    flex: 0 0 38%;
    max-width: 38%;
    min-height: 512px;
    margin: 0;
    padding: 48px 34px;
    border: 0;
    background:
        radial-gradient(circle at 20% 18%, rgba(255, 140, 0, 0.22), transparent 29%),
        linear-gradient(145deg, var(--stw-navy) 0%, var(--stw-navy-hover) 100%);
}

.siakad-login .login-visual::before {
    top: 50%;
    left: 50%;
    width: 340px;
    height: 340px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    animation: none;
    transform: translate(-50%, -50%);
}

.siakad-login .login-visual::after {
    content: '';
    position: absolute;
    right: 22px;
    bottom: 22px;
    width: 54px;
    height: 6px;
    border-radius: 999px;
    background: var(--stw-orange);
    opacity: 0.9;
}

.siakad-login .login-artwork {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0;
}

.siakad-login .image {
    width: 100%;
    max-width: 260px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 24px rgba(4, 18, 39, 0.24));
    transform: none;
}

.siakad-login .image:hover {
    transform: translateY(-3px);
}

.siakad-login .login-form-column {
    flex: 0 0 62%;
    max-width: 62%;
    display: flex;
    align-items: center;
    padding: 0;
    background: #fff;
}

.siakad-login .login-form-column form {
    width: 100%;
}

.siakad-login .login-form-panel {
    width: min(100%, 520px);
    margin: 0 auto;
    padding: 38px 48px 34px;
}

.siakad-login .login-brand {
    margin: 0 0 28px;
}

.siakad-login .logo {
    width: 70px;
    height: 70px;
    border: 3px solid rgba(255, 140, 0, 0.18);
    box-shadow: 0 8px 24px rgba(24, 54, 97, 0.16);
}

.siakad-login .system-title {
    margin-bottom: 3px;
    font-size: 17px;
    line-height: 1.3;
    letter-spacing: 0.25px;
}

.siakad-login .system-subtitle {
    font-size: 13px;
}

.siakad-login .form-group {
    margin-bottom: 8px;
}

.siakad-login input {
    min-height: 46px;
    padding: 10px 13px;
    border: 1px solid #d9e1ea;
    border-radius: 9px;
    color: var(--stw-text);
    background: #fff;
}

.siakad-login input:hover {
    border-color: rgba(24, 54, 97, 0.55);
}

.siakad-login input:focus {
    border: 1px solid var(--stw-navy);
    box-shadow: 0 0 0 3px var(--stw-focus-ring);
}

.siakad-login .form-group label {
    top: 14px;
    color: var(--stw-text-muted);
}

.siakad-login .form-group input.active + label,
.siakad-login .form-group input:focus + label,
.siakad-login .form-group input:not(:placeholder-shown) + label {
    color: var(--stw-navy);
}

.siakad-login #toggle-password {
    right: 7px !important;
    color: var(--stw-text-muted) !important;
}

.siakad-login .captcha-label {
    gap: 3px;
    margin: 2px 0 8px;
    font-size: 12px;
    font-weight: 600;
}

.siakad-login .login-captcha-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
    align-items: start;
}

.siakad-login .captcha-challenge {
    min-height: 46px;
    padding: 5px;
    border: 1px solid #d9e1ea;
    border-radius: 9px;
    background: #f7f9fb;
}

.siakad-login .captcha-image {
    width: 100px;
    height: 34px;
    border: 0;
    border-radius: 6px;
    object-fit: contain;
    background: #fff;
}

.siakad-login #refresh-captcha {
    width: 34px;
    height: 34px;
    margin-left: 5px !important;
    padding: 0;
    border-color: rgba(24, 54, 97, 0.2);
    color: var(--stw-navy);
}

.siakad-login .captcha-answer {
    margin: 0;
}

.siakad-login .btn-blue {
    min-height: 46px;
    border-radius: 9px;
    background: var(--stw-navy);
    box-shadow: 0 8px 18px rgba(24, 54, 97, 0.16);
    font-size: 13px;
    letter-spacing: 0.45px;
}

.siakad-login .btn-blue:hover {
    background: var(--stw-navy-hover);
    box-shadow: 0 10px 22px rgba(24, 54, 97, 0.22);
}

.siakad-login .btn-blue:hover,
.siakad-login .btn-blue:focus,
.siakad-login .btn-blue:active {
    color: #fff;
}

.siakad-login .btn-blue:focus-visible,
.siakad-login a:focus-visible,
.siakad-login #refresh-captcha:focus-visible,
.siakad-login #toggle-password:focus-visible {
    outline: 3px solid var(--stw-orange);
    outline-offset: 2px;
}

.siakad-login .auth-links {
    margin-top: 2px;
    line-height: 1.45;
}

.siakad-login .auth-link-item {
    color: var(--stw-text);
    font-size: 12px;
    font-weight: 600 !important;
}

.siakad-login .auth-link-item a {
    color: var(--stw-navy) !important;
}

.siakad-login .auth-link-item a:hover {
    color: var(--stw-orange) !important;
}

.siakad-login .login-footer {
    padding: 14px 24px;
    background: var(--stw-navy);
}

.siakad-login .login-footer > .row {
    margin: 0;
}

.siakad-login .footer-logo {
    width: 158px;
    height: auto;
}

.siakad-login .login-footer small {
    font-size: 10px;
}

.siakad-login .social-contact {
    gap: 7px;
    margin: 0;
}

.siakad-login .service-link {
    gap: 4px;
    padding: 6px 8px;
    border-radius: 7px;
}

.siakad-login .service-link svg {
    width: 14px;
    height: 14px;
}

.siakad-login .service-label {
    font-size: 9px;
}

@media screen and (max-width: 991px) {
    .siakad-login {
        width: min(600px, calc(100% - 24px));
        padding: 18px 0 !important;
    }

    .siakad-login .card0 {
        margin: 0;
        border-radius: 18px;
    }

    .siakad-login .login-main-row {
        min-height: auto;
    }

    .siakad-login .login-form-column {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .siakad-login .login-form-panel {
        padding: 34px 40px 30px;
    }

    .siakad-login .social-contact {
        justify-content: center;
        margin-top: 10px;
    }
}

@media screen and (max-width: 576px) {
    .siakad-login {
        width: calc(100% - 16px);
        padding: 8px 0 !important;
    }

    .siakad-login .card0 {
        margin: 0;
        border-radius: 14px;
    }

    .siakad-login .login-form-panel {
        padding: 24px 20px 22px;
    }

    .siakad-login .login-brand {
        margin-bottom: 22px;
    }

    .siakad-login .logo {
        width: 58px;
        height: 58px;
    }

    .siakad-login .system-title {
        font-size: 14px;
    }

    .siakad-login .login-captcha-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .siakad-login .captcha-challenge {
        width: fit-content;
    }

    .siakad-login .login-footer {
        padding: 14px 16px;
    }

    .siakad-login .footer-logo {
        width: 142px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .siakad-login *,
    .siakad-login *::before,
    .siakad-login *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Shared public authentication content */
.public-auth .auth-description {
    margin: -10px 0 20px;
    color: var(--stw-text-muted);
    font-size: 12px;
    line-height: 1.6;
}

.public-auth .auth-notice {
    margin: -8px 0 18px;
    padding: 10px 12px;
    border-left: 3px solid var(--stw-orange);
    border-radius: 0 8px 8px 0;
    background: rgba(255, 140, 0, 0.08);
    color: var(--stw-text);
    font-size: 11px;
    line-height: 1.5;
}

.public-auth .auth-back-link {
    margin-top: 14px;
    color: var(--stw-text-muted);
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

.public-auth .auth-back-link a {
    color: var(--stw-navy);
    text-decoration: none;
}

.public-auth .auth-back-link a:hover {
    color: var(--stw-orange);
}

.public-auth .auth-status-panel {
    text-align: left;
}

.public-auth .auth-status-icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin: -4px 0 14px;
    place-items: center;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 800;
}

.public-auth .auth-status-icon--success {
    border: 1px solid rgba(81, 190, 120, 0.32);
    background: rgba(81, 190, 120, 0.12);
    color: var(--stw-green-hover);
}

.public-auth .auth-status-icon--forbidden {
    border: 1px solid rgba(255, 140, 0, 0.34);
    background: rgba(255, 140, 0, 0.1);
    color: var(--stw-orange);
}

.public-auth .auth-error-code {
    margin: -54px 0 22px 62px;
    color: var(--stw-orange);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.public-auth .auth-status-title {
    margin: 0 0 8px;
    color: var(--stw-navy);
    font-size: 17px;
    font-weight: 700;
}

.public-auth .auth-steps {
    margin: 0 0 20px;
    padding: 14px 16px 14px 34px;
    border: 1px solid #e5eaf0;
    border-radius: 9px;
    background: #f8fafc;
    color: var(--stw-text);
    font-size: 11px;
    line-height: 1.7;
}

.public-auth .auth-steps li + li {
    margin-top: 4px;
}

.public-auth .btn-blue + .auth-back-link {
    margin-bottom: 0;
}

@media screen and (max-width: 576px) {
    .siakad-forbidden .siakad-login > .row {
        margin-right: 0;
        margin-left: 0;
    }

    .siakad-forbidden .siakad-login > .row > .col-12 {
        padding-right: 0;
        padding-left: 0;
    }
}
