/* ============================================================
   SAKINAH HOLISTIC CARE — Global Stylesheet
   ============================================================ */

/* --- Base --- */
body {
    background-color: #f6f9f7;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
}

/* --- 2026 Glassmorphism --- */
.glass-panel {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.glass-dark {
    background: rgba(14, 75, 37, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --- Bento Box Hover --- */
.bento-card {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.bento-card:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 20px 40px -10px rgba(14, 75, 37, 0.1);
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* --- Hide Scrollbar (modal) --- */
.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 10px;
}

/* --- Background Mesh --- */
.bg-mesh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}
.mesh-blob-1 {
    position: absolute;
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(121, 180, 67, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    animation: blob 10s infinite;
}
.mesh-blob-2 {
    position: absolute;
    top: 20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(14, 75, 37, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    animation: blob 10s infinite;
    animation-delay: 2s;
}

@keyframes blob {
    0%   { transform: translate(0px, 0px) scale(1); }
    33%  { transform: translate(30px, -50px) scale(1.1); }
    66%  { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0px, 0px) scale(1); }
}

/* --- Select Dropdown Arrow --- */
.select-wrapper {
    position: relative;
}
.select-wrapper::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 14px;
    bottom: 14px;
    pointer-events: none;
    color: #9ca3af;
    font-size: 14px;
}
.select-wrapper select {
    padding-right: 28px;
}

/* --- Datetime Input Fix --- */
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    filter: invert(0.4);
    cursor: pointer;
}

/* ============================================================
   LOGIN PAGE
   ============================================================ */
.login-blob-1 {
    position: absolute;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(121, 180, 67, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    top: -20%;
    right: -20%;
}
.login-blob-2 {
    position: absolute;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(14, 75, 37, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -10%;
    left: -15%;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25%      { transform: translateX(-6px); }
    50%      { transform: translateX(6px); }
    75%      { transform: translateX(-4px); }
}
.shake {
    animation: shake 0.4s ease;
}

/* ============================================================
   ADMIN PANEL
   ============================================================ */
.stat-card {
    transition: all 0.3s ease;
}
.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 75, 37, 0.1);
}

.status-badge {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 700;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0.4; }
}
.pulse-dot {
    animation: pulse 2s infinite;
}
