/* Sidebar Styling Custom */
.sidebar-link {
    transition: all 0.2s ease-in-out;
    color: #374151; /* abu-abu gelap */
}

/* Hover State */
.sidebar-link:hover {
    background-color: #1DB1E9;
    color: #ffffff;
}

/* Active State */
.sidebar-link.active {
    background-color: #F18E19;
    color: #ffffff;
    font-weight: 600;
}

/* Button Kombinasi Gradient (#1DB1E9 ke #F18E19) */
.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;
}

/* --- GLOBAL UTILITY & BUTTON --- */
.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 --- */
.floating-group {
    position: relative;
}

.floating-input {
    width: 100%;
    padding: 1rem 0.875rem 0.5rem 0.875rem; /* Padding atas disesuaikan untuk tempat label mengapung */
    font-size: 0.95rem;
    background-color: transparent;
    border: 1.5px solid #d1d5db;
    border-radius: 0.75xl; /* Rounded-xl */
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Warna border saat fokus menjadi #1DB1E9 */
.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 tidak kosong (placeholder-shown bernilai false), label naik ke atas */
.floating-input:focus ~ .floating-label,
.floating-input:not(:placeholder-shown) ~ .floating-label {
    top: 0;
    transform: translateY(-50%) scale(0.85);
    color: #F18E19 !important; /* Warna label aktif menjadi #F18E19 */
    font-weight: 600;
}

/* ==========================================================
   MHI INDONESIA - STYLING UTAMA
   ================================================---------- */

/* Warna Aksen Brand */
:root {
    --mhi-cyan: #1DB1E9;
    --mhi-orange: #F18E19;
}

/* Tombol Gradien Utama */
.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 (Untuk Form Login, dll) --- */
.floating-group {
    position: relative;
}

.floating-input {
    width: 100%;
    padding: 1rem 0.875rem 0.5rem 0.875rem;
    font-size: 0.95rem;
    background-color: transparent;
    border: 1.5px solid #d1d5db;
    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;
}

.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;
}

/* --- SIDEBAR & 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;
}