/* =========================
   GLOBAL BASE
========================= */
.card {
    border-radius: 8px;
}

.form-control {
    background-color: #ffffff;
    font-size: 14px;
}

/* =========================
   LOGIN PAGE
========================= */
body {
    background: url('/images/login/bg.jpg') no-repeat center/cover;
    font-family: 'Poppins', sans-serif;
}

.card-custom {
    padding: 40px;
    background: rgba(196, 196, 196, 0.4);
    backdrop-filter: blur(4px);
    border-radius: 20px;
    color: white;
    box-shadow: 5px 5px 10px black;
}

.bantuhrd {
    text-align: center;
    margin-bottom: 20px;
    font-weight: 100px;
}

.pwlupa {
    text-align: center;
    font-size: 12px;
    color: rgba(239, 236, 227, 1);
}

/* =========================
   PAGE CONTAINER & CARD
========================= */
.page-container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 24px;
}


.page-card {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    background: #ffffff;
}

.page-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 14px 20px;
}

.page-title {
    font-weight: 700;
    font-size: 16px;
}

.page-body {
    padding: 24px;
}

.page-action {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 24px;
}

.page-action .btn {
    min-width: 90px;
}

/* =========================
   SECTION & FORM
========================= */
.section-title {
    font-size: 16px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 10px;
}

/* =========================
   PHOTO / UPLOAD
========================= */
.photo-upload {
    margin-top: 10px;
}

.photo-placeholder {
    width: 150px;
    height: 180px;
    border: 1px dashed #cbd5e1;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
}

.photo-placeholder img {
    width: 120px;
    height: 150px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
}

.photo-img {
    max-width: 150px;
}

/* =========================
   PAGINATION
========================= */
.pagination {
    gap: 6px;
}

.page-item .page-link {
    border-radius: 8px;
    color: #374151;
}

.page-item.active .page-link {
    background-color: #759EB8;
    border-color: #759EB8;
    color: #fff;
}

/* =========================
   WELCOME / DASHBOARD
========================= */
.welcome-box {
    position: relative;
    padding: 26px 36px;
    height: 160px;
    border-radius: 16px;
    background: linear-gradient(
        90deg,
        #b7ecff 0%,
        #a8d8ff 50%,
        #9cbcff 100%
    );
    overflow: hidden;

    display: flex;
    align-items: center; 
}

.welcome-box::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: inherit;
    z-index: 0;
}

.welcome-content {
    position: relative;
    z-index: 1;
    max-width: 55%;
    padding-top: 6px;
    padding-bottom: 6px;
}


.welcome-avatar {
    position: absolute;
    right: 1px;
    bottom: -1px;
    top: auto;        /* penting: cegah naik */
    width: 165px;
    z-index: 2;
}




.welcome-box h3 {
    font-size: 22px;
    font-weight: 600; /* semi-bold, bukan bold penuh */
    color: #0f172a;
    margin-bottom: 4px;
}

.welcome-box p {
    font-size: 14px;
    font-weight: 400;
    color: #475569;
}


/* =========================
   STAT CARD
========================= */
.stat-card {
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
    transition: .2s ease;
}

.stat-card h3 {
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-card p {
    margin: 0;
    font-size: 14px;
    color: #374151;
}

/* Variasi warna pastel */
.stat-card.blue {
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
}

.stat-card.green {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
}

.stat-card.yellow {
    background: linear-gradient(135deg, #fef9c3, #fde68a);
}

.stat-card.purple {
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
}

/* Hover shared */
.welcome-box,
.stat-card,
.cuti-card {
    transition: transform .15s ease, box-shadow .15s ease;
}

.stat-card:hover,
.cuti-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,.1);
}

/* =========================
   TODO CARD
========================= */
.todo-card {
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    background-color: #ffffff;
    overflow: hidden;
}

.todo-card .table {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.todo-card thead th {
    background-color: #ffffff;
    font-weight: 700;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
}

.todo-card tbody td {
    color: #374151;
    border-bottom: 1px solid #f1f5f9;
}

.todo-card tbody tr:last-child td {
    border-bottom: none;
}

.todo-card thead th:first-child {
    border-top-left-radius: 10px;
}

.todo-card thead th:last-child {
    border-top-right-radius: 10px;
}

.todo-text.done {
    text-decoration: line-through;
    color: #9ca3af;
}

/* =========================
   CUTI CARD (DASHBOARD)
========================= */
.cuti-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    border-radius: 14px;
    color: #111;
    box-shadow: 0 4px 10px rgba(0,0,0,.08);
}

.cuti-card h2 {
    margin: 0;
    font-weight: 700;
}

.cuti-card p {
    margin: 0;
    font-size: 14px;
    color: #374151;
}

.cuti-card .icon {
    font-size: 28px;
    opacity: .8;
}

.cuti-card.pending {
    background: #fde68a;
}

.cuti-card.approved {
    background: #86efac;
}

.cuti-card.rejected {
    background: #fca5a5;
}

/* =========================
   TABLE & BUTTON
========================= */
.table th,
.table td {
    vertical-align: middle;
    font-size: 14px;
}

.btn-check.active {
    background-color: #2563eb;
    color: #ffffff;
}

.btn-warning {
    color: #000;
}


.todo-text.done {
    text-decoration: line-through;
    color: #999;
}
