/* ============================================================
   LOGO & BRANDING - Mobil Bekas Jambi
   ============================================================ */

/* Logo di navbar */
.mbj-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s;
}

.mbj-logo:hover {
    transform: scale(1.02);
}

.mbj-logo-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    transition: all 0.3s;
}

.mbj-logo:hover .mbj-logo-img {
    transform: rotate(-5deg) scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(225, 29, 42, 0.4));
}

.mbj-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.mbj-logo-text .line1 {
    font-family: 'Arial Black', 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 900;
    color: #e11d2a;
    letter-spacing: 0.5px;
    -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.3);
}

.mbj-logo-text .line2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    color: #0a0a0a;
    letter-spacing: 0.3px;
}

.mbj-logo-text .line3 {
    font-family: 'Georgia', serif;
    font-size: 0.72rem;
    font-weight: 700;
    font-style: italic;
    color: #525252;
}

/* Logo di admin sidebar */
.mbj-logo-admin {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
}

.mbj-logo-admin .mbj-logo-img {
    width: 44px;
    height: 44px;
    background: white;
    border-radius: 10px;
    padding: 3px;
    border: 2px solid #dc2626;
}

.mbj-logo-admin .mbj-logo-text .line1 {
    color: #ffffff;
    font-size: 0.9rem;
}

.mbj-logo-admin .mbj-logo-text .line2 {
    color: #dc2626;
    font-size: 0.85rem;
}

/* Kop surat untuk faktur */
.kop-surat {
    width: 100%;
    max-height: 140px;
    object-fit: contain;
    object-position: left center;
    margin-bottom: 20px;
    border-bottom: 3px solid #0a0a0a;
    padding-bottom: 12px;
}

/* Frame faktur (opsional, untuk efek profesional) */
.faktur-frame {
    position: relative;
    padding: 40px;
    background: white;
    border: 2px solid #0a0a0a;
    border-radius: 8px;
    overflow: hidden;
}

.faktur-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, #0a0a0a 0%, #2a2a2a 60%, #e11d2a 100%);
}

.faktur-frame::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg, #e11d2a 0%, #2a2a2a 40%, #0a0a0a 100%);
}

/* Motto box */
.mbj-motto {
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border-left: 4px solid #e11d2a;
    padding: 12px 16px;
    border-radius: 8px;
    font-style: italic;
    font-weight: 700;
    color: #991b1b;
    margin: 16px 0;
    font-size: 0.9rem;
}

.mbj-motto::before {
    content: '"';
    font-family: Georgia, serif;
    font-size: 1.5rem;
    color: #e11d2a;
    margin-right: 4px;
    vertical-align: -8px;
}

.mbj-motto::after {
    content: '"';
    font-family: Georgia, serif;
    font-size: 1.5rem;
    color: #e11d2a;
    margin-left: 4px;
    vertical-align: -8px;
}

/* Footer brand */
.mbj-footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.mbj-footer-brand .mbj-logo-img {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 12px;
    padding: 4px;
    border: 2px solid #dc2626;
}

@media (max-width: 640px) {
    .mbj-logo-img { width: 42px; height: 42px; }
    .mbj-logo-text .line1 { font-size: 0.88rem; }
    .mbj-logo-text .line2 { font-size: 0.7rem; }
    .mbj-logo-text .line3 { font-size: 0.62rem; }
}
