/* 
 * Custom CSS untuk Sistem Manajemen PKL BPS
 */
body {
  
    /* Menambahkan efek zoom out 90% */
    zoom: 90%; /* Untuk browser modern */
    
}
:root {
    --bps-blue: #004C96;
    --bps-light-blue: #BFD7FF;
    --bps-dark-blue: #003366;
    --bps-orange: #FF8000;
    --bps-light-gray: #F8F9FA;
}

body {
    font-family: 'Roboto', 'Segoe UI', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* Header Styling */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    max-height: 50px;
}

.navbar-brand {
    font-weight: bold;
    color: var(--bps-blue) !important;
}

.navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
}

.navbar-nav .nav-link:hover {
    color: var(--bps-blue);
}

.navbar-nav .nav-link.active {
    color: var(--bps-blue);
    font-weight: bold;
}

/* Button Styling */
.btn-primary {
    background-color: var(--bps-blue);
    border-color: var(--bps-blue);
}

.btn-primary:hover {
    background-color: var(--bps-dark-blue);
    border-color: var(--bps-dark-blue);
}

.btn-outline-primary {
    color: var(--bps-blue);
    border-color: var(--bps-blue);
}

.btn-outline-primary:hover {
    background-color: var(--bps-blue);
    border-color: var(--bps-blue);
}

/* Card Styling */
.card {
    border-radius: 8px;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.card-header {
    font-weight: bold;
    border-bottom: 1px solid #eee;
}

/* Footer Styling */
footer {
    background-color: #fff;
    border-top: 1px solid #eee;
    padding: 1.5rem 0;
    margin-top: 2rem;
}

/* Custom Dashboard Cards */
.border-left-primary {
    border-left: 4px solid var(--bps-blue);
}

.border-left-success {
    border-left: 4px solid #28a745;
}

.border-left-info {
    border-left: 4px solid #17a2b8;
}

.border-left-warning {
    border-left: 4px solid #ffc107;
}

/* Admin Dashboard Table */
.table-responsive {
    overflow-x: auto;
}

.table th {
    background-color: var(--bps-light-gray);
    font-weight: 600;
}

/* Form Styling */
.form-control:focus {
    border-color: var(--bps-light-blue);
    box-shadow: 0 0 0 0.25rem rgba(0, 76, 150, 0.25);
}

.form-label {
    font-weight: 500;
}

/* Hero Section */
.hero-section {
    background-color: #fff;
    padding: 3rem 0;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.hero-title {
    color: var(--bps-blue);
    font-weight: bold;
}

/* Custom Alert */
.alert {
    border-radius: 8px;
}

/* Profile Section */
.profile-image {
    border-radius: 50%;
    border: 3px solid var(--bps-light-blue);
}

/* Status badges */
.badge {
    padding: 0.4em 0.6em;
    font-weight: 500;
}

/* Certificate styling */
.certificate-wrapper {
    background-color: #fff;
    padding: 2rem;
    border: 1px solid #ddd;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.certificate-container {
    max-width: 800px;
    margin: 20px auto;
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 30px;
    position: relative;
}

.certificate-header {
    text-align: center;
    margin-bottom: 30px;
}

.certificate-logo {
    max-width: 150px;
    margin-bottom: 10px;
}

.certificate-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #0d6efd;
}

.certificate-subtitle {
    font-size: 18px;
    margin-bottom: 20px;
}

.certificate-body {
    text-align: center;
    margin-bottom: 40px;
}

.certificate-name {
    font-size: 24px;
    font-weight: bold;
    margin: 20px 0;
    color: #0d6efd;
}

.certificate-text {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.certificate-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
}

.signature-box {
    text-align: center;
    flex: 1;
}

.signature-line {
    width: 200px;
    border-bottom: 1px solid #000;
    margin: 70px auto 10px;
}

.certificate-date {
    text-align: right;
    margin-top: 30px;
    font-style: italic;
}

.certificate-border {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border: 2px solid #0d6efd;
    pointer-events: none;
}

.certificate-number {
    font-size: 14px;
    text-align: center;
    margin-top: 20px;
    color: #666;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    .certificate-container {
        padding: 15px;
    }
    
    .certificate-title {
        font-size: 22px;
    }
    
    .certificate-name {
        font-size: 20px;
    
    }
    
}
