/* login-modern.css - TOTAL RESET & MODERN STYLE */

/* 1. RESET TOTAL SISTEM BAWAAN (MENGHILANGKAN BOX ABU-ABU) */
html, 
body.login-theme {
    margin: 0 !important;
    padding: 0 !important;
    height: 100vh !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000 100%) !important;
    grid-template-columns: none !important; /* Matikan grid screen.css */
    overflow: hidden !important; /* Mencegah scroll yang merusak layout */
    color: #fff;
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif !important;
}

/* Sembunyikan paksa elemen luar sistem (Header, Nav, Footer bawaan) */
body.login-theme header.page, 
body.login-theme nav, 
body.login-theme footer,
body.login-theme header.main,
body.login-theme aside,
body.login-theme #header,
body.login-theme #footer {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Mematikan box/warna dari elemen pembungkus bawaan screen.css */
body.login-theme main {
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    background: transparent !important; /* Menghilangkan box abu-abu sistem */
    border: none !important;
    box-shadow: none !important;
}

/* 2. LAYOUT CONTAINER */
.login-page-container {
    display: flex;
    flex-direction: column; /* Mengatur Logo di Atas Card */
    align-items: center;
    justify-content: center;
    width: 100%;
    z-index: 10;
    animation: fadeInPage 0.6s ease-out;
}

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

/* 3. TOP LOGO AREA (DI ATAS CARD) */
.top-logo-area {
    margin-bottom: 1px; /* Jarak antara logo dan card */
    text-align: center;
}
.top-logo-area2 {
    margin-bottom: 1px; /* Jarak antara logo dan card */
    text-align: center;
}
.main-logo {
    max-height: 150px; /* Ukuran logo lokal umm2.png */
    width: auto;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.8)); /* Glow agar jelas di background gelap */
}
.main-logo2 {
    max-height: 90px; /* Ukuran logo lokal umm2.png */
    width: 80%;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.8)); /* Glow agar jelas di background gelap */
}
/* 4. CARD STYLING */
.login-card {
    max-width: 450px;
    width: 90%; /* Responsif untuk mobile */
    background: #1a1a1a !important;
    border-radius: 28px;
    padding: 45px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
}

/* 5. TYPOGRAPHY */
.login-card h1 {
    color: #ff4d4d !important;
    font-size: 3rem !important;
    font-weight: 700 !important;
    text-align: center;
    margin: 0 0 10px 0 !important;
    letter-spacing: -0.02em;
}
.login-card h3 {
    color: #ff4d4d !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
    text-align: center;
    margin: 0 0 10px 0 !important;
    letter-spacing: -0.02em;
}
.login-card .welcome {
    text-align: center;
    color: #ffffff;
    margin-bottom: 30px;
    font-size: 1.2rem;
    line-height: 1;
}

.login-card .brand { 
    color: #ffffff; 
    font-weight: 600; 
}

/* 6. FORM INPUTS */
.input-field { 
    margin-bottom: 1px; 
    text-align: left; 
}

.input-field label { 
    display: block; 
    color: #ccc; 
    margin-bottom: 1px; 
    font-size: 1.2rem; 
}

.input-wrapper { 
    position: relative; 
    display: flex; 
    align-items: center; 
}

.input-wrapper i { 
    position: absolute; 
    left: 18px; 
    color: #555; 
}

.input-wrapper input {
    width: 100% !important;
    padding: 15px 15px 15px 50px !important;
    background: #252525 !important;
    border: 1.5px solid #333 !important;
    border-radius: 12px !important;
    color: #fff !important;
    font-size: 1rem !important;
    transition: all 0.3s ease;
    box-sizing: border-box !important;
}

.input-wrapper input:focus {
    border-color: #ff4d4d !important;
    outline: none !important;
    background: #2a2a2a !important;
    box-shadow: 0 0 0 4px rgba(255, 77, 77, 0.15);
}

.disabled-bg, .input-wrapper input:disabled { 
    opacity: 0.6; 
    background: #111 !important;
}

/* 7. BUTTON */
.modern-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #ff4d4d, #cc0000) !important;
    color: white !important;
    border: none !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    font-size: 1.1rem !important;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    transition: 0.3s;
    text-decoration: none !important;
}

.modern-btn:hover { 
    filter: brightness(1.1); 
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 77, 77, 0.4);
}

/* 8. ERROR MESSAGE */
.error-message {
    background: rgba(255, 77, 77, 0.1);
    color: #ff8a8a;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 77, 77, 0.2);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 9. FOOTER AREA (DALAM CARD) */
.footer-area { 
    margin-top: 30px; 
    padding-top: 20px; 
    border-top: 1px solid #ff0000; 
}

.description { 
    color: #ffffff; 
    font-size: 1rem; 
    text-align: center; 
    line-height: 1.6; 
    margin-bottom: 15px; 
}

.footer-info { 
    text-align: center; 
    font-size: 1rem; 
    color: #ffffff; 
}

.footer-links { 
    margin-top: 8px; 
    display: flex; 
    justify-content: center; 
    gap: 12px; 
}

.info-link { 
    color: #ff4d4d !important; 
    text-decoration: none; 
    font-weight: 600; 
    transition: 0.2s;
}

.info-link:hover { 
    color: #ff9999 !important; 
    text-decoration: underline; 
}

.sep { color: #333; }

/* RESPONSIVE MOBILE */
@media (max-width: 480px) {
    .login-card { padding: 30px 20px; }
    .top-logo-area { margin-bottom: 20px; }
    .main-logo { max-height: 70px; }
}
/* ===== TAMBAHAN UNTUK HALAMAN SETUJUI PERMOHONAN ===== */
.instruction {
    background: #262635;
    border: 1px solid #4a2a2a;
    border-radius: 22px;
    padding: 1.6rem 1.4rem;
    margin-bottom: 2rem;
    width: 100%;
    color: #ffffff;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
}

.instruction p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0.8rem;
}

.instruction .highlight {
    background: #cc0000;  /* abu-abu gelap netral, tanpa merah */
    color: #f0f0f0;
    font-weight: 600;
    padding: 0.25rem 0.9rem;
    border-radius: 40px;
    display: inline-block;
    margin-right: 0.2rem;
    border: 1px solid #5a5a6a;
    text-shadow: none;
}

.warning-box {
    background: #ffffff;
    border-left: 4px solid #ffffff;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    margin: 0.9rem 0 0.7rem 0;
    color: #cc0000;
    font-weight: 500;
    font-size: 0.95rem;
    border: 1px solid #ffffff;
}

.reason {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.2rem;
    padding-top: 0.8rem;
    border-top: 1px dashed #803c3c;
    font-size: 0.95rem;
    color: #d4c0c0;
}

.reason .icon-circle {
    background: #c42f2f;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    box-shadow: 0 2px 6px #880000;
}

.security-note {
    font-size: 0.8rem;
    color: #dbbdbd;
    background: #2a2a3c;
    border-radius: 30px;
    padding: 0.4rem 1.2rem;
    display: inline-block;
    margin: 0.4rem auto 0.2rem;
    border: 1px solid #633333;
    font-weight: 500;
    text-align: center;
    width: fit-content;
}

/* Logo lingkaran dengan ikon (menggantikan img) */
.logo-circle {
    width: 90px;
    height: 90px;
    background: #8b1e1e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #b33a3a;
    box-shadow: 0 8px 14px -4px rgba(180, 30, 30, 0.5);
    margin: 0 auto;
}

.logo-circle i {
    font-size: 3rem;
    color: white;
    filter: drop-shadow(0 2px 5px black);
}

/* Penyesuaian form */
.modern-btn-form {
    width: 100%;
    margin: 1rem 0;
}

.modern-btn-form button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #ff4d4d, #cc0000);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}

.modern-btn-form button:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 77, 77, 0.4);
}

/* Pastikan card memiliki padding yang cukup */
.login-card {
    padding: 2.5rem 2rem !important;
}
