* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: #f4f6fb;
    color: #333;
}

/* HEADER 
.header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8px;
    z-index: 1000;
}
*/

/* HEADER MODERN */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 50px;
    background: linear-gradient(135deg, #241f7c, #0e0f3d);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5px;
    color: #fff;
    z-index: 1000;

    /* SHAPE */
    border-bottom-left-radius: 28px;
    border-bottom-right-radius: 28px;

    /* SHADOW */
    box-shadow: 0 8px 20px rgba(18, 16, 59, 0.35);
}

/* WAVE EFFECT */
.header::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 36px;
    background: linear-gradient(135deg, #241f7c, #0e0f3d);
    border-bottom-left-radius: 100% 60%;
    border-bottom-right-radius: 100% 60%;
    z-index: -1;
}

/* LEFT */
.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    width: 36px;
    height: 36px;
    background: #fff;
    padding: 5px;
    border-radius: 12px;
}

.app-name {
    font-size: 18px;
    font-weight: 600;
}

/* RIGHT */
.header-right {
    font-size: 12px;
    text-align: right;
    line-height: 1.3;
    opacity: 0.95;
}

/* CONTENT OFFSET */
.content {
    padding-top: 120px;
}

/* SMALL SCREEN */
@media (max-width: 360px) {
    .app-name {
        display: none;
    }
    .header-right {
        font-size: 11px;
    }
}


/* LEFT */
.header-left {
    display: flex;
    align-items: center;
    gap: 1px;
    padding: -30px 10px;
    
}

.logo {
    width: 120px;
    height: 40px;
    object-fit: contain;
}

.app-name {
    font-size: 18px;
    font-weight: 600;
}

/* RIGHT */
.header-right {
    font-size: 10px;
    text-align: right;
    text-decoration: none;
    color: #ffffff;
    line-height: 1.3;
    opacity: 0.95;
    padding: 0 10px;
}

/* RESPONSIVE */
@media (max-width: 360px) {
    .app-name {
        display: none;
    }
}


/* CONTENT */
.content {
    padding: 80px 16px 90px;
}

/* BOTTOM NAV */
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 50px;
    background: #fff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -3px 10px rgba(0,0,0,0.1);
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

.bottom-nav a {
    text-decoration: none;
    color: #888;
    font-size: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: .3s;
}

.bottom-nav i {
    font-size: 20px;
    margin-bottom: 4px;
}

.bottom-nav a.active {
    color: #4f46e5;
    transform: translateY(-6px);
}

.bottom-nav a.active i {
    background: #4f46e5;
    color: white;
    padding: 10px;
    border-radius: 50%;
}

/* DESKTOP MODE */
@media (min-width: 768px) {
    .bottom-nav {
        max-width: 420px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 18px;
        bottom: 15px;
    }
}

/* CARD */
.card {
    background: #fff;
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

/* TABLE */
.table-modern {
    width: 100%;
    border-collapse: collapse;
    margin-top: 14px;
}

.table-modern th {
    background: #f1f5ff;
    color: #4f46e5;
    font-size: 13px;
    padding: 10px;
    text-align: left;
}

.table-modern td {
    padding: 10px;
    font-size: 13px;
    border-bottom: 1px solid #eee;
}

.table-modern tr:hover {
    background: #f8f9ff;
}

/* BADGE */
.badge {
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.badge-new {
    background: #fee2e2;
    color: #dc2626;
}

.badge-read {
    background: #dcfce7;
    color: #16a34a;
}

/* ACTION BUTTON */
.action {
    display: flex;
    gap: 8px;
}

.btn-icon {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: .3s;
}





/*tabel*/

.table-container {
    background: #fff;
    padding: 10px;
    border-radius: 2px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    overflow-x: auto;
    
}

.table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto; /* penting */
}


    
.table thead {
    background: #082d64;
    color: #fff;
}
.table td {
    justify-content: top;
    padding: 6px 8px;
    vertical-align: top;
}

.table th {
    padding: 6px 8px;
    
    
}


.table tbody tr:hover {
    background: #f5f8ff;
}

.pagination {
    margin-top: 16px;
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
}

.pagination a {
    padding: 6px 12px;
    border-radius: 8px;
    background: #f3f4f6;
    color: #111827;
    text-decoration: none;
    font-size: 13px;
}

.pagination a.active {
    background: #6366f1;
    color: #fff;
    font-weight: 600;
}

.pagination a:hover {
    background: #4f46e5;
    color: #fff;
}


/* Tombol Aksi */
.aksi {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.btn {
    padding: 8px 10px;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    transition: 0.3s;
}
.btn-tambah {
    background: #0b7a27;
}

.btn-tambah:hover {
    background: #05580c;
}

.btn-view {
    background: #09632e;;
}

.btn-view:hover {
    background: #1e683f;
}
.btn-edit {
    background: #ffc107;
}

.btn-edit:hover {
    background: #e0a800;
}



i.fa-calendar {
  color: #09632e; /* Warna oranye */
  font-size: 9px; /* Atur ukuran jika perlu */
}

i.fa-clock {
  color: #09632e; /* Warna oranye */
  font-size: 9px; /* Atur ukuran jika perlu */
}

.btn-delete {
    background: #dc3545;
}

.btn-delete:hover {
    background: #bb2d3b;
}


/* BODY */
.login-body {
    min-height: 100vh;
    background: linear-gradient(135deg, #241f7c, #0e0f3d);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* WRAPPER */
.login-wrapper {
    width: 100%;
    padding: 20px;
}

/* BOX */
.login-box {
    max-width: 380px;
    margin: auto;
    background: #fff;
    border-radius: 26px;
    padding: 32px 28px;
    box-shadow: 0 25px 45px rgba(0,0,0,.25);
    animation: fadeUp .6s ease;
}

/* TITLE */
.login-title {
    text-align: center;
    margin-bottom: 26px;
}

.login-title img {
    width: 200px;
    margin-bottom: 10px;
}

.login-title h2 {
    margin-bottom: 6px;
    color: #333;
}

.login-title p {
    font-size: 13px;
    color: #777;
}

/* FORM */
.form-group {
    position: relative;
    margin-bottom: 18px;
}

.form-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6366f1;
}

.form-group input {
    width: 100%;
    padding: 14px 14px 14px 44px;
    border-radius: 16px;
    border: 1px solid #ddd;
    outline: none;
    font-size: 14px;
    transition: .3s;
}

.form-group input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,.2);
}

/* BUTTON */
.btn-login {
    width: 100%;
    margin-top: 8px;
    padding: 14px;
    border: none;
    border-radius: 18px;
    background: linear-gradient(135deg, #4f46e5, #6366f1);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: .35s;
}

.btn-login i {
    margin-right: 6px;
}

.btn-login:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(79,70,229,.45);
}

/* FOOTER */
.login-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 13px;
}

.login-footer a {
    color: #4f46e5;
    font-weight: 600;
    text-decoration: none;
}

/* ANIMATION */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

a {
        text-decoration: none; /* Removes the default underline */
    }


        

    
/* RESPONSIVE */


@media(max-width:480px){
    .table-modern th:nth-child(2),
    .table-modern td:nth-child(2){
        display:none;
    }
}



/* Responsive Mobile */
@media (max-width: 768px) {
    .table {
        font-size: 12px;
    }

    .btn {
        padding: 3px 5px;
    }
}
