/* =====================================================
   SUGA EMAIL MONITOR – Stylesheet
   ===================================================== */

/* ── Sembunyikan tombol eye bawaan browser ─────────── */
input[type="password"]::-ms-reveal,
input[type="password"]::-ms-clear,
input[type="password"]::-webkit-contacts-auto-fill-button,
input[type="password"]::-webkit-credentials-auto-fill-button {
    display: none !important;
    visibility: hidden;
    pointer-events: none;
}

/* ── Login Page ────────────────────────────────────── */
.login-body {
    min-height: 100vh;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.login-wrapper {
    width: 100%;
    max-width: 420px;
}

.login-card {
    border: none;
    border-radius: 1rem;
}

.login-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #0d6efd, #6610f2);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #fff;
}

/* ── Navbar ────────────────────────────────────────── */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
}

/* ── Stat Cards ────────────────────────────────────── */
.stat-card .card-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 1rem 1.25rem;
}

.stat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
    color: #212529;
}

.stat-label {
    font-size: .8rem;
    color: #6c757d;
}

/* ── Email Table ───────────────────────────────────── */
.bg-unread {
    background-color: #f0f6ff !important;
}

.table > tbody > tr:hover {
    background-color: #e9f0ff !important;
}

.table td, .table th {
    vertical-align: middle;
    padding: .6rem .75rem;
}

/* ── Email Body (dalam modal) ──────────────────────── */
.email-body-wrap {
    max-height: 65vh;
    overflow-y: auto;
    font-size: .92rem;
    line-height: 1.6;
}

.email-body-wrap img {
    max-width: 100%;
    height: auto;
}

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 576px) {
    .stat-value { font-size: 1.4rem; }
    .container-fluid { padding: 1rem; }
}
