/* * QACS Validation CSS
 * Theme: Modern, Trustworthy, Futuristic Minimalist
 * Font: Montserrat
 */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

:root {
    --primary: #1D59A5;
    --primary-light: #2a75d3;
    --bg-color: #f0f4f7;
    --text-dark: #333333;
    --text-gray: #666666;
    --white: #ffffff;
    --shadow: 0 4px 15px rgba(0,0,0,0.05);
    --success: #2e7d32;
    --danger: #d32f2f;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat", sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-dark);
    min-height: 100vh;
}

/* --- HALAMAN VALIDASI (INDEX) --- */
.validation-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.logo-container {
    margin-bottom: 25px;
    text-align: center;
}

.logo-container img {
    max-width: 250px;
    height: auto;
}

.welcome-text {
    text-align: center;
    margin-bottom: 40px;
}

.welcome-text h2 {
    font-weight: 500;
    color: var(--primary);
    font-size: 26px;
}

.welcome-text h1 {
    font-weight: 600;
    color: var(--primary);
    font-size: 36px;
    margin-top: 5px;
}

/* Search Box Futuristik */
.search-box {
    width: 100%;
    max-width: 750px;
    background: var(--white);
    border-radius: 50px;
    display: flex;
    align-items: center;
    padding: 6px 20px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.06);
    border: 1px solid #d1d9e0;
    transition: all 0.3s ease;
}

.search-box:focus-within {
    box-shadow: 0 6px 20px rgba(29, 89, 165, 0.2);
    border-color: var(--primary);
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    padding: 15px 10px;
    font-size: 16px;
    color: var(--text-dark);
    background: transparent;
}

.search-box input::placeholder {
    color: #7b8b9a;
    font-weight: 400;
}

.search-box button {
    background: transparent;
    border: none;
    outline: none;
    cursor: pointer;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    transition: 0.3s;
}

.search-box button:hover {
    color: var(--primary-light);
    transform: scale(1.1);
}

/* --- MODAL VERIFIKASI --- */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(3px);
}

.modal-content {
    background: var(--white);
    padding: 35px;
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    position: relative;
    animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    color: #999;
    transition: 0.2s;
}

.close-modal:hover { color: var(--danger); }

.result-item { margin-bottom: 15px; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.result-item:last-child { border-bottom: none; margin-bottom: 0; }
.result-label { font-size: 12px; color: var(--text-gray); text-transform: uppercase; font-weight: 600; letter-spacing: 0.5px; }
.result-value { font-size: 16px; font-weight: 500; color: var(--text-dark); margin-top: 4px; }
.status-active { color: var(--success); font-weight: 700; display:flex; align-items:center; gap:5px; }
.status-suspended { color: var(--danger); font-weight: 700; display:flex; align-items:center; gap:5px; }

/* --- LAYOUT ADMIN (DASHBOARD) --- */
.admin-layout { display: flex; min-height: 100vh; }
.sidebar {
    width: 260px; background: var(--primary); color: var(--white);
    display: flex; flex-direction: column; transition: all 0.3s;
}
.sidebar-header { padding: 25px 20px; font-size: 22px; font-weight: 700; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.1); letter-spacing: 1px; }
.nav-menu { list-style: none; padding: 20px 0; flex: 1; }
.nav-item {
    padding: 14px 25px; display: flex; align-items: center; gap: 12px;
    color: rgba(255,255,255,0.7); text-decoration: none; transition: 0.3s; cursor: pointer; font-weight: 500;
}
.nav-item:hover, .nav-item.active { background: rgba(255,255,255,0.1); color: var(--white); border-left: 4px solid var(--white); }
.main-content { flex: 1; background: #f4f6f9; display: flex; flex-direction: column; }
.topbar { background: var(--white); padding: 15px 30px; display: flex; justify-content: space-between; align-items: center; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.content-area { padding: 30px; flex: 1; }
.card { background: var(--white); border-radius: 12px; padding: 25px; box-shadow: var(--shadow); }

.btn { padding: 10px 20px; border-radius: 8px; border: none; cursor: pointer; font-weight: 600; font-size: 14px; transition: 0.3s; text-decoration: none; display: inline-flex; align-items: center; gap: 5px;}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-light); }
.btn-danger { background: #ffebee; color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: white; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 14px; color: var(--text-gray);}
.form-control { width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 8px; outline: none; font-size: 15px; transition: 0.3s;}
.form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(29, 89, 165, 0.1); }

/* Login Box */
.login-wrapper { display: flex; align-items: center; justify-content: center; height: 100vh; }
.login-box { background: var(--white); padding: 40px; border-radius: 16px; box-shadow: var(--shadow); width: 100%; max-width: 420px; }

/* Responsive Mobile */
.menu-toggle { display: none; cursor: pointer; color: var(--text-dark); }
@media (max-width: 768px) {
    .sidebar { position: fixed; left: -260px; height: 100vh; z-index: 1000; }
    .sidebar.show { left: 0; box-shadow: 5px 0 15px rgba(0,0,0,0.1); }
    .menu-toggle { display: block; }
    .welcome-text h1 { font-size: 26px; }
    .welcome-text h2 { font-size: 20px; }
}