/* public/css/renweb-style.css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f7f6; /* Warna background soft biar mata nggak capek */
    -webkit-font-smoothing: antialiased;
}

/* App Header (Khusus Mobile) */
.app-header {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
}

/* Bottom Navigation (Khusus PWA/Mobile) */
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 1030;
    background-color: #ffffff;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    padding-bottom: env(safe-area-inset-bottom); /* Fix untuk layar iPhone / Full Screen */
}

.bottom-nav .nav-item {
    color: #a0a5aa;
    text-decoration: none;
    transition: all 0.3s ease;
    flex: 1;
    font-size: 0.75rem;
}

.bottom-nav .nav-item:hover,
.bottom-nav .nav-item.active {
    color: #0d6efd;
}

.bottom-nav .nav-item.active i {
    transform: translateY(-2px);
    display: block;
    text-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
}

/* Premium Card (Bayangan Halus & Sudut Membulat) */
.card-premium {
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    transition: transform 0.2s;
    background: #ffffff;
}

.card-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

/* Input & Button Premium */
.form-control-premium {
    border-radius: 12px;
    padding: 0.8rem 1.2rem;
    border: 1.5px solid #e9ecef;
    background-color: #f8f9fa;
}

.form-control-premium:focus {
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.1);
    border-color: #0d6efd;
    background-color: #ffffff;
}

.btn-premium {
    border-radius: 12px;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.2);
}

/* Pagination Custom Biar Keren */
.pagination {
    margin-bottom: 0;
    justify-content: center;
}
.page-item .page-link {
    border-radius: 10px;
    margin: 0 4px;
    border: none;
    color: #495057;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    font-weight: 500;
}
.page-item.active .page-link {
    background-color: #0d6efd;
    color: white;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

/* Footer Premium Style */
.app-footer {
    background-color: #ffffff;
    border-top: 1px solid #e9ecef;
    padding: 20px 0;
    font-size: 0.8rem;
    color: #6c757d;
}

.app-footer a {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 600;
}

.app-footer a:hover {
    text-decoration: underline;
}

/* Biar konten utama nggak tertutup footer & bottom nav di mobile */
@media (max-width: 767.98px) {
    main.container {
        padding-bottom: 120px !important; /* Jarak aman biar gak tabrakan */
    }
}
