/* ==========================================================================
   MY SERVICE & RETUR MX APP - MAIN STYLESHEET
   ========================================================================== */

/* 1. Global & Base Reset */
body {
    background-color: #f4f6f9;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333333;
}

/* 2. Custom Navbar Header (Modern Dark Modern Gradient + Glassmorphism) */
.custom-navbar {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%) !important;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

/* Logo Brand Styling */
.navbar-brand-custom {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #ffffff !important;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.navbar-brand-custom .brand-accent {
    color: #3b82f6;
    text-shadow: 0 0 12px rgba(59, 130, 246, 0.6);
}

.navbar-brand-custom:hover {
    transform: translateY(-1px);
}

/* Styling Nav Link & Animasi Smooth Underline */
.nav-link-custom {
    position: relative;
    color: rgba(255, 255, 255, 0.75) !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px !important;
    margin: 0 2px;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-link-custom i {
    font-size: 1.05rem;
    transition: transform 0.3s ease;
}

/* Hover State Nav Link */
.nav-link-custom:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.08);
}

.nav-link-custom:hover i {
    transform: translateY(-2px);
}

/* Animasi Line Underline saat Hover */
.nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: #3b82f6;
    box-shadow: 0 0 8px #3b82f6;
    transition: width 0.3s ease, left 0.3s ease;
    border-radius: 2px;
}

.nav-link-custom:hover::after {
    width: 60%;
    left: 20%;
}

/* Active State Menu */
.nav-link-custom.active {
    color: #ffffff !important;
    background: rgba(59, 130, 246, 0.2);
    font-weight: 600;
}

.nav-link-custom.active::after {
    width: 70%;
    left: 15%;
    background: #60a5fa;
    box-shadow: 0 0 10px #60a5fa;
}

/* Disabled State Menu */
.nav-link-custom.disabled {
    color: rgba(255, 255, 255, 0.35) !important;
    pointer-events: none;
}

/* 3. Card & Container Customization */
.card {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.04);
}

.card-header {
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
}

.form-label.fw-bold {
    color: #2c3e50;
    font-size: 0.9rem;
}

.section-divider {
    border-top: 2px dashed #dee2e6;
    margin: 1.5rem 0;
}

/* 4. Custom Table & Badges */
.table th {
    font-weight: 600;
    color: #495057;
}

.table-hover tbody tr:hover {
    background-color: rgba(59, 130, 246, 0.03);
}

.badge {
    font-weight: 500;
    padding: 0.45em 0.7em;
}