/* Vanity Mirror — Custom Styles
   Brand: Dominic Harris (dominicharris.com)
   Palette: monochrome + purple #5532fa accent
*/

/* ---------- Loading spinner ---------- */
@keyframes vm-spin {
    to { transform: rotate(360deg); }
}
.loading-spinner {
    width: 20px;
    height: 20px;
    border: 1.5px solid rgba(0, 0, 0, 0.08);
    border-top-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    animation: vm-spin 0.6s linear infinite;
}

/* ---------- Action buttons ---------- */
.action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 8px;
    color: #374151;
    cursor: pointer;
    transition: background-color 0.15s ease,
                color 0.15s ease,
                transform 0.1s ease;
}
.action-btn:hover {
    background-color: #f8f7f6;
    color: #000;
}
.action-btn:active {
    transform: scale(0.92);
}
.action-btn.danger:hover {
    background-color: #fef2f2;
    color: #dc2626;
}

/* ---------- Date input native chrome ---------- */
input[type="date"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0.4;
    cursor: pointer;
    transition: opacity 0.15s;
}
input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 0.7;
}

/* ---------- Hide scrollbar utility ---------- */
.scrollbar-none { -ms-overflow-style: none; scrollbar-width: none; }
.scrollbar-none::-webkit-scrollbar { display: none; }

/* ---------- Scrollbar (subtle) ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.12); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.25); }
