/* ==========================================================
   MHI INDONESIA - MASTER STYLING (CLEAN & UNIFIED)
   ========================================================== */

:root {
    --mhi-cyan: #1DB1E9;
    --mhi-orange: #F18E19;
}

/* --- SIDEBAR STYLING --- */
.sidebar-link {
    transition: all 0.2s ease-in-out;
    color: #374151;
}

.sidebar-link:hover {
    background-color: #1DB1E9;
    color: #ffffff;
}

.sidebar-link.active {
    background-color: #F18E19;
    color: #ffffff;
    font-weight: 600;
}

/* --- BUTTON GRADIENT --- */
.btn-primary-gradient {
    background: linear-gradient(135deg, #1DB1E9 0%, #F18E19 100%);
    color: #ffffff;
    transition: opacity 0.2s ease;
}

.btn-primary-gradient:hover {
    opacity: 0.9;
}

/* --- FLOATING LABEL STYLE (PERBAIKAN POSISI TEKS DI TENGAH) --- */
.floating-group {
    position: relative;
}

.floating-input {
    width: 100%;
    /* Padding seimbang atas-bawah agar teks persis di tengah secara vertikal seperti placeholder */
    padding: 0.95rem 0.875rem 0.95rem 0.875rem !important; 
    font-size: 0.95rem;
    line-height: 1.25rem;
    background-color: transparent;
    border: 1.5px solid #d1d5db;
    border-radius: 0.75rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.floating-input:focus {
    border-color: #1DB1E9;
    box-shadow: 0 0 0 2px rgba(29, 177, 233, 0.15);
}

.floating-label {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    background-color: #ffffff;
    padding: 0 0.25rem;
    color: #6b7280;
    font-size: 0.95rem;
    pointer-events: none;
    transition: 0.2s ease all;
}

/* Saat input fokus atau terisi, label naik ke atas border */
.floating-input:focus ~ .floating-label,
.floating-input:not(:placeholder-shown) ~ .floating-label {
    top: 0;
    transform: translateY(-50%) scale(0.85);
    color: #F18E19 !important;
    font-weight: 600;
}

/* --- CUSTOM SELECT DROPDOWN (PANAH DIGESER KE DALAM, TIDAK BENTROK) --- */
select.floating-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    /* Panah digeser ke kiri (right: 1.1rem) agar aman dari garis border kanan */
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1.1rem center;
    background-size: 1.1rem;
    padding-right: 2.75rem !important;
    cursor: pointer;
}

/* --- CUSTOM SCROLLBAR --- */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}