#oilmazing-sfc-root.oilmazing-sfc-dashboard .serif-title {
    font-family: 'Playfair Display', serif;
}

/* Dashboard loader */
#oilmazing-sfc-root.oilmazing-sfc-dashboard .oilmazing-sfc-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background-color: #fafafa;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

#oilmazing-sfc-root.oilmazing-sfc-dashboard .oilmazing-sfc-loader-spinner {
    width: 2.5rem;
    height: 2.5rem;
    border: 3px solid #e4e4e7;
    border-top-color: #18181b;
    border-radius: 50%;
    animation: oilmazing-sfc-spin 0.8s linear infinite;
}

#oilmazing-sfc-root.oilmazing-sfc-dashboard .oilmazing-sfc-loader-text {
    margin: 0;
    font-family: inherit;
    font-size: 0.875rem;
    color: #71717a;
}

#oilmazing-sfc-root.oilmazing-sfc-dashboard.oilmazing-sfc-is-loading .oilmazing-sfc-app {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#oilmazing-sfc-root.oilmazing-sfc-dashboard .oilmazing-sfc-app {
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

#oilmazing-sfc-root.oilmazing-sfc-dashboard:not(.oilmazing-sfc-is-loading) .oilmazing-sfc-loader {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@keyframes oilmazing-sfc-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Header search */
#oilmazing-sfc-root.oilmazing-sfc-dashboard header .oilmazing-sfc-search {
    position: relative;
    width: 100%;
}

#oilmazing-sfc-root.oilmazing-sfc-dashboard header .oilmazing-sfc-search-icon {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    color: #a1a1aa;
    pointer-events: none;
}

#oilmazing-sfc-root.oilmazing-sfc-dashboard header input.oilmazing-sfc-search-input {
    display: block;
    width: 100%;
    height: 2.75rem;
    min-height: 2.75rem;
    margin: 0;
    padding: 0 1rem 0 2.75rem;
    border: 1px solid #e4e4e7;
    border-radius: 9999px;
    background-color: #fafafa;
    background-image: none;
    color: #27272a;
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.25rem;
    outline: none;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#oilmazing-sfc-root.oilmazing-sfc-dashboard header input.oilmazing-sfc-search-input::placeholder {
    color: #a1a1aa;
    opacity: 1;
}

#oilmazing-sfc-root.oilmazing-sfc-dashboard header input.oilmazing-sfc-search-input:focus {
    border-color: #000000;
    box-shadow: 0 0 0 1px #000000;
}

#oilmazing-sfc-root.oilmazing-sfc-dashboard header input.oilmazing-sfc-search-input--mobile {
    height: 2.75rem;
    min-height: 2.75rem;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

/* Compact calendar search */
#oilmazing-sfc-root.oilmazing-sfc-dashboard .oilmazing-sfc-search--compact {
    position: relative;
    width: 10rem;
}

#oilmazing-sfc-root.oilmazing-sfc-dashboard .oilmazing-sfc-search--compact .oilmazing-sfc-search-icon {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    color: #a1a1aa;
    pointer-events: none;
}

#oilmazing-sfc-root.oilmazing-sfc-dashboard .oilmazing-sfc-search--compact .oilmazing-sfc-search-icon i {
    font-size: 0.75rem;
    line-height: 1;
    color: inherit;
}

#oilmazing-sfc-root.oilmazing-sfc-dashboard input.oilmazing-sfc-search-input--compact {
    display: block;
    width: 100%;
    height: 2.25rem;
    min-height: 2.25rem;
    margin: 0;
    padding: 0 0.875rem 0 2.25rem;
    border: 1px solid #e4e4e7;
    border-radius: 0.5rem;
    background-color: #fafafa;
    background-image: none;
    color: #27272a;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.25rem;
    outline: none;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#oilmazing-sfc-root.oilmazing-sfc-dashboard input.oilmazing-sfc-search-input--compact::placeholder {
    color: #a1a1aa;
    opacity: 1;
}

#oilmazing-sfc-root.oilmazing-sfc-dashboard input.oilmazing-sfc-search-input--compact:focus {
    border-color: #000000;
    box-shadow: 0 0 0 1px #000000;
    background-color: #ffffff;
}

/* Chat panel search */
#oilmazing-sfc-root.oilmazing-sfc-dashboard .oilmazing-sfc-search--chat {
    position: relative;
    width: 100%;
}

#oilmazing-sfc-root.oilmazing-sfc-dashboard .oilmazing-sfc-search--chat .oilmazing-sfc-search-icon {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    color: #a1a1aa;
    pointer-events: none;
}

#oilmazing-sfc-root.oilmazing-sfc-dashboard .oilmazing-sfc-search--chat .oilmazing-sfc-search-icon i {
    font-size: 0.75rem;
    line-height: 1;
    color: inherit;
}

#oilmazing-sfc-root.oilmazing-sfc-dashboard input.oilmazing-sfc-search-input--chat {
    display: block;
    width: 100%;
    height: 2.5rem;
    min-height: 2.5rem;
    margin: 0;
    padding: 0 1rem 0 2.5rem;
    border: 1px solid #e4e4e7;
    border-radius: 0.75rem;
    background-color: #fafafa;
    background-image: none;
    color: #27272a;
    font-family: inherit;
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.25rem;
    outline: none;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#oilmazing-sfc-root.oilmazing-sfc-dashboard input.oilmazing-sfc-search-input--chat::placeholder {
    color: #a1a1aa;
    opacity: 1;
}

#oilmazing-sfc-root.oilmazing-sfc-dashboard input.oilmazing-sfc-search-input--chat:focus {
    border-color: #000000;
    box-shadow: 0 0 0 1px #000000;
    background-color: #ffffff;
    background-image: none;
}

/* Chat avatars */
#oilmazing-sfc-root.oilmazing-sfc-dashboard #chat-panel .chat-avatar,
#oilmazing-sfc-root.oilmazing-sfc-dashboard #chat-panel .chat-avatar-wrap .chat-avatar,
#oilmazing-sfc-root.oilmazing-sfc-dashboard #chat-panel .chat-avatar-wrap img {
    display: block;
    width: 2.75rem;
    height: 2.75rem;
    min-width: 2.75rem;
    min-height: 2.75rem;
    border-radius: 50%;
    object-fit: cover;
    overflow: hidden;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
    border: 1px solid #e4e4e7;
}

#oilmazing-sfc-root.oilmazing-sfc-dashboard #chat-panel .chat-avatar--thread,
#oilmazing-sfc-root.oilmazing-sfc-dashboard #chat-panel .chat-avatar-wrap .chat-avatar--thread,
#oilmazing-sfc-root.oilmazing-sfc-dashboard #chat-panel .chat-avatar-wrap img.chat-avatar--thread {
    width: 2.25rem;
    height: 2.25rem;
    min-width: 2.25rem;
    min-height: 2.25rem;
}

#oilmazing-sfc-root.oilmazing-sfc-dashboard #chat-panel .chat-avatar--support {
    border-color: #e4e4e7;
}

#oilmazing-sfc-root.oilmazing-sfc-dashboard #chat-panel .chat-avatar-wrap {
    width: 2.25rem;
    height: 2.25rem;
    min-width: 2.25rem;
    min-height: 2.25rem;
    flex-shrink: 0;
}

/* Library product images (WooCommerce) */
#oilmazing-sfc-root.oilmazing-sfc-dashboard .library-product-image {
    display: block;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 0.375rem;
}

#oilmazing-sfc-root.oilmazing-sfc-dashboard #member-deal-image-wrap .member-deal-product-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

#oilmazing-sfc-root.oilmazing-sfc-dashboard #member-deal-claim-btn:disabled {
    pointer-events: none;
}

#oilmazing-sfc-root.oilmazing-sfc-dashboard #libraryScentGrid .scent-card,
#oilmazing-sfc-root.oilmazing-sfc-dashboard #mobileLibraryScentGrid .mobile-scent-item {
    min-height: 7.5rem;
}

#oilmazing-sfc-root.oilmazing-sfc-dashboard #libraryScentGrid .scent-card p,
#oilmazing-sfc-root.oilmazing-sfc-dashboard #mobileLibraryScentGrid .mobile-scent-item p {
    word-break: break-word;
}

/* Custom Scrollbar for Scent Library (Minimalist Grayscale) */
#oilmazing-sfc-root.oilmazing-sfc-dashboard .custom-scrollbar::-webkit-scrollbar {
    width: 5px;
}
#oilmazing-sfc-root.oilmazing-sfc-dashboard .custom-scrollbar::-webkit-scrollbar-track {
    background: #f4f4f5;
    border-radius: 10px;
}
#oilmazing-sfc-root.oilmazing-sfc-dashboard .custom-scrollbar::-webkit-scrollbar-thumb {
    background: #d4d4d8;
    border-radius: 10px;
}
#oilmazing-sfc-root.oilmazing-sfc-dashboard .custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #a1a1aa;
}

/* Monochrome Background Elements */
#oilmazing-sfc-root.oilmazing-sfc-dashboard .monochrome-tint-bg {
    background-color: #f4f4f5;
    position: relative;
    overflow-x: hidden;
}

/* Interactive Animation effects */
#oilmazing-sfc-root.oilmazing-sfc-dashboard .scent-card {
    transition: all 0.2s ease-in-out;
}
#oilmazing-sfc-root.oilmazing-sfc-dashboard .scent-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
}

/* Pulse for target drops */
#oilmazing-sfc-root.oilmazing-sfc-dashboard .drag-over {
    border: 2px dashed #000000;
    background-color: rgba(0, 0, 0, 0.02);
}

#oilmazing-sfc-root.oilmazing-sfc-dashboard .view-section {
    transition: opacity 0.25s ease-in-out, transform 0.25s ease-in-out;
}
#oilmazing-sfc-root.oilmazing-sfc-dashboard .view-section.hidden {
    display: none;
    opacity: 0;
    transform: translateY(10px);
}

/* Header Chat Panel */
#oilmazing-sfc-root.oilmazing-sfc-dashboard .chat-panel {
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
#oilmazing-sfc-root.oilmazing-sfc-dashboard .chat-panel.chat-panel-open {
    transform: translateX(0);
}
#oilmazing-sfc-root.oilmazing-sfc-dashboard #chat-backdrop {
    transition: opacity 0.25s ease;
}
#oilmazing-sfc-root.oilmazing-sfc-dashboard .chat-convo-item {
    transition: background-color 0.15s ease;
}
#oilmazing-sfc-root.oilmazing-sfc-dashboard .chat-convo-item:hover {
    background-color: #fafafa;
}
#oilmazing-sfc-root.oilmazing-sfc-dashboard .chat-convo-item.active {
    background-color: #f4f4f5;
}
#oilmazing-sfc-root.oilmazing-sfc-dashboard .chat-bubble {
    max-width: 82%;
    word-wrap: break-word;
}
#oilmazing-sfc-root.oilmazing-sfc-dashboard .chat-bubble-sent {
    background-color: #18181b;
    color: #ffffff;
    border-radius: 1rem 1rem 0.25rem 1rem;
    margin-left: auto;
}
#oilmazing-sfc-root.oilmazing-sfc-dashboard .chat-bubble-received {
    background-color: #ffffff;
    color: #3f3f46;
    border: 1px solid #e4e4e7;
    border-radius: 1rem 1rem 1rem 0.25rem;
}
#oilmazing-sfc-root.oilmazing-sfc-dashboard .chat-bubble-time {
    font-size: 9px;
    opacity: 0.55;
    margin-top: 4px;
}

/* Header Notification Panel */
#oilmazing-sfc-root.oilmazing-sfc-dashboard .notification-panel {
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
#oilmazing-sfc-root.oilmazing-sfc-dashboard .notification-panel.notification-panel-open {
    transform: translateX(0);
}
#oilmazing-sfc-root.oilmazing-sfc-dashboard #notification-backdrop {
    transition: opacity 0.25s ease;
}
#oilmazing-sfc-root.oilmazing-sfc-dashboard .notif-filter-btn {
    color: #a1a1aa;
}
#oilmazing-sfc-root.oilmazing-sfc-dashboard .notif-filter-btn:hover:not(.active) {
    color: #52525b;
}
#oilmazing-sfc-root.oilmazing-sfc-dashboard .notif-filter-btn.active {
    color: #18181b;
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}
#oilmazing-sfc-root.oilmazing-sfc-dashboard .notif-group-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a1a1aa;
    padding-left: 2px;
    margin-bottom: 10px;
}
#oilmazing-sfc-root.oilmazing-sfc-dashboard .notif-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e4e4e7;
    border-radius: 14px;
    padding: 14px 14px 14px 16px;
    text-align: left;
    width: 100%;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
    overflow: hidden;
}
#oilmazing-sfc-root.oilmazing-sfc-dashboard .notif-card:hover {
    border-color: #d4d4d8;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transform: translateY(-1px);
}
#oilmazing-sfc-root.oilmazing-sfc-dashboard .notif-card.unread::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: #18181b;
}
#oilmazing-sfc-root.oilmazing-sfc-dashboard .notif-card.unread {
    border-color: #d4d4d8;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
#oilmazing-sfc-root.oilmazing-sfc-dashboard .notif-icon-wrap {
    width: 2rem;
    height: 2rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 11px;
    background: #f4f4f5;
    color: #3f3f46;
}
#oilmazing-sfc-root.oilmazing-sfc-dashboard .notif-dismiss {
    opacity: 0;
    transition: opacity 0.15s ease, color 0.15s ease;
}
#oilmazing-sfc-root.oilmazing-sfc-dashboard .notif-card:hover .notif-dismiss {
    opacity: 1;
}

/* Mobile Bottom Navigation */
#oilmazing-sfc-root.oilmazing-sfc-dashboard .mobile-nav-scroll {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
#oilmazing-sfc-root.oilmazing-sfc-dashboard .mobile-nav-scroll::-webkit-scrollbar {
    display: none;
}
#oilmazing-sfc-root.oilmazing-sfc-dashboard .mobile-nav-btn {
    flex: 1;
    min-width: 0;
    max-width: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 8px 4px;
    border-radius: 12px;
    color: #a1a1aa;
    transition: color 0.15s ease, background-color 0.15s ease;
    flex-shrink: 0;
}
#oilmazing-sfc-root.oilmazing-sfc-dashboard .mobile-nav-btn span {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.01em;
    white-space: nowrap;
}
#oilmazing-sfc-root.oilmazing-sfc-dashboard .mobile-nav-btn.active {
    color: #18181b;
    background-color: #f4f4f5;
}
#oilmazing-sfc-root.oilmazing-sfc-dashboard .mobile-nav-btn.active i {
    color: #18181b;
}

/* Responsive Calendar */
#oilmazing-sfc-root.oilmazing-sfc-dashboard .calendar-toolbar {
    align-items: center;
}

#oilmazing-sfc-root.oilmazing-sfc-dashboard .calendar-toolbar__nav-title {
    align-items: center;
}

#oilmazing-sfc-root.oilmazing-sfc-dashboard .calendar-month-title,
#oilmazing-sfc-root.oilmazing-sfc-dashboard #currentMonthYear {
    margin: 0;
    padding: 0;
    line-height: 1.2;
    display: block;
}

#oilmazing-sfc-root.oilmazing-sfc-dashboard .calendar-grid {
    width: 100%;
    min-width: 0;
}
#oilmazing-sfc-root.oilmazing-sfc-dashboard .calendar-cell {
    min-height: 3.25rem;
    padding: 0.2rem;
    border-radius: 0.5rem;
    min-width: 0;
    overflow: hidden;
}
#oilmazing-sfc-root.oilmazing-sfc-dashboard .calendar-cell-inactive {
    min-height: 3rem;
    padding: 0.2rem;
    border-radius: 0.5rem;
    min-width: 0;
}
@media (min-width: 640px) {
    #oilmazing-sfc-root.oilmazing-sfc-dashboard .calendar-cell { min-height: 4.5rem; padding: 0.375rem; border-radius: 0.75rem; }
    #oilmazing-sfc-root.oilmazing-sfc-dashboard .calendar-cell-inactive { min-height: 4.25rem; padding: 0.375rem; border-radius: 0.75rem; }
}
@media (min-width: 1024px) {
    #oilmazing-sfc-root.oilmazing-sfc-dashboard .calendar-cell { min-height: 5.25rem; padding: 0.5rem; }
    #oilmazing-sfc-root.oilmazing-sfc-dashboard .calendar-cell-inactive { min-height: 4.75rem; padding: 0.5rem; }
}
#oilmazing-sfc-root.oilmazing-sfc-dashboard .calendar-cell .calendar-day-num {
    font-size: 8px;
    line-height: 1;
}
@media (min-width: 640px) {
    #oilmazing-sfc-root.oilmazing-sfc-dashboard .calendar-cell .calendar-day-num { font-size: 10px; }
}
#oilmazing-sfc-root.oilmazing-sfc-dashboard .calendar-cell-selected-scent {
    outline: 2px dashed #18181b;
    outline-offset: -2px;
}

/* Mobile Library Sheet */
#oilmazing-sfc-root.oilmazing-sfc-dashboard .mobile-library-sheet {
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
#oilmazing-sfc-root.oilmazing-sfc-dashboard .mobile-library-sheet.mobile-library-open {
    transform: translateY(0);
}
#oilmazing-sfc-root.oilmazing-sfc-dashboard .mobile-scent-item.scent-pick-selected {
    border-color: #18181b;
    box-shadow: 0 0 0 2px #18181b;
}

/* Mobile tooltip */
@media (max-width: 639px) {
    #oilmazing-sfc-root.oilmazing-sfc-dashboard #detailsTooltip {
        position: fixed;
        left: 50%;
        top: auto;
        bottom: 5.5rem;
        transform: translateX(-50%);
        width: calc(100vw - 2rem);
        max-width: 18rem;
    }
}
