/* === Global Style === */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #4e73df, #1cc88a);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* === Navbar === */
.navbar {
    border-radius: 0;
    background: linear-gradient(90deg, #224abe, #4e73df);
    border: none;
}

//.navbar-brand {
 //   font-weight: 600;
 //   color: #fff !important;
//}

/* === Navbar Brand === */
.navbar-brand {
    display: flex;
    align-items: center;/* sejajarkan logo dan teks vertikal */
    gap: 2px;/* jarak antara logo dan teks */
    font-weight: 600;
    color: #fff !important;
    font-size: 18px;/* ukuran teks sedikit lebih besar */
    text-decoration: none;/* hilangkan underline */
}

.navbar-nav>li>a {
    color: #f8f9fc !important;
    transition: 0.3s;
}

.navbar-nav>li>a:hover {
    color: #ffd700 !important;
}

/* === Container & Heading === */
.container h2 {
    text-align: center;
    margin: 30px 0;
    font-weight: 700;
    color: #333;
}

/* === Card Pengumuman === */
#xpengumuman,
.input-group {
    background: #fff;
    border-radius: 15px;
    padding: 25px 30px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    margin: 20px auto;
    max-width: 700px;
    animation: fadeIn 0.8s ease-in-out;
}

/* === Countdown === */
#clock {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    padding: 10px;
    color: #fff;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

/* === Table Style === */
.table {
    margin-top: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.table th {
    background: #4e73df;
    color: #fff;
    text-align: center;
}

.table td {
    text-align: center;
    vertical-align: middle;
}

.table tbody tr:hover {
    background: #f1f5ff;
    transition: 0.3s;
}

/* === Alert Style === */
.alert {
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    padding: 15px 20px;
    text-align: center;
}

.alert-success {
    background: #1cc88a;
    color: #fff;
}

.alert-danger {
    background: #e74a3b;
    color: #fff;
}

.alert-warning {
    background: #f6c23e;
    color: #333;
}

/* === Footer === */
.footer {
    margin-top: auto;
    padding: 15px 0;
    text-align: center;
    background: #224abe;
    color: #fff;
    font-size: 14px;
}

/* === Animation === */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === Logo Style (Kecil & Rapi di samping teks) === */
//.logo-icon {
   // width: 9px;
    /* lebih kecil */
   // height: 9px;
    //margin-right: 6px;
    /* jarak sedikit dengan teks */
   // border-radius: 4px;
    /* tidak terlalu bulat biar jelas */
   // object-fit: cover;
   // vertical-align: middle;
    /* sejajar dengan teks */
//}

/* === Logo Icon === */
.logo-icon {
    width: 18px;     /* pas dengan teks */
    height: 18px;
    border-radius: 4px;
    object-fit: cover;
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 16px;
        gap: 6px;
    }

    .logo-icon {
        width: 16px;
        height: 16px;
    }
}