/* ============================================================================
   HANCERZ WORKSPACE - LIGHT / WHITE THEME DESIGN SYSTEM
   Strict Hancerz IP: All custom classes prefixed with .hz-
   ============================================================================ */

:root {
    --hz-primary: #0284c7;
    --hz-primary-hover: #0369a1;
    --hz-primary-light: #e0f2fe;
    --hz-primary-glow: rgba(2, 132, 199, 0.15);
    
    --hz-bg-body: #f8fafc;
    --hz-surface-white: #ffffff;
    --hz-surface-subtle: #f1f5f9;
    
    --hz-border: #e2e8f0;
    --hz-border-strong: #cbd5e1;
    
    --hz-text-main: #0f172a;
    --hz-text-muted: #64748b;
    --hz-text-subtle: #94a3b8;
}

body {
    background-color: var(--hz-bg-body);
    color: var(--hz-text-main);
    font-family: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    overflow-x: hidden;
}

/* Crisp White Surface Panels */
.hz-light-panel {
    background: var(--hz-surface-white);
    border: 1px solid var(--hz-border);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.05), 0 1px 2px -1px rgba(0, 0, 0, 0.05);
}

.hz-light-card {
    background: var(--hz-surface-white);
    border: 1px solid var(--hz-border);
    box-shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.04);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.hz-light-card:hover {
    border-color: #93c5fd;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.12);
}

/* Gradient Accents */
.hz-text-gradient-cyan {
    background: linear-gradient(135deg, #0284c7 0%, #0891b2 50%, #0369a1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hz-hero-gradient {
    background: radial-gradient(circle at 50% -10%, rgba(224, 242, 254, 0.7) 0%, rgba(248, 250, 252, 0) 65%);
}

.hz-cta-gradient {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Visual Board Grid & Cards */
.hz-asset-card {
    position: relative;
    border-radius: 0.875rem;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--hz-border);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hz-asset-card:hover {
    border-color: #38bdf8;
    transform: translateY(-3px);
    box-shadow: 0 14px 28px -6px rgba(2, 132, 199, 0.18);
}

.hz-asset-preview-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background-color: #f1f5f9;
    transition: transform 0.35s ease;
}

.hz-asset-card:hover .hz-asset-preview-img {
    transform: scale(1.03);
}

.hz-asset-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.2) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
    pointer-events: none;
}

/* Project Group Header Badges */
.hz-project-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    color: #0369a1;
    font-size: 0.875rem;
    font-weight: 700;
}

.hz-github-repo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.2rem 0.6rem;
    border-radius: 0.5rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #334155;
    font-size: 0.75rem;
    font-family: monospace;
    font-weight: 600;
}

/* Role Badges */
.hz-badge-admin {
    background: #fee2e2;
    border: 1px solid #fca5a5;
    color: #dc2626;
}

.hz-badge-manager {
    background: #fef3c7;
    border: 1px solid #fde68a;
    color: #d97706;
}

.hz-badge-employee {
    background: #dcfce7;
    border: 1px solid #86efac;
    color: #16a34a;
}

/* Status Indicators */
.hz-status-todo {
    border-left: 3px solid #94a3b8;
}

.hz-status-in_progress {
    border-left: 3px solid #0284c7;
}

.hz-status-review {
    border-left: 3px solid #f59e0b;
}

.hz-status-completed {
    border-left: 3px solid #10b981;
}

/* Modal Backdrops */
.hz-modal-backdrop {
    background-color: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.hz-animate-fade-in {
    animation: hzFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes hzFadeIn {
    from {
        opacity: 0;
        transform: scale(0.97);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Toast Notifications */
.hz-toast-container {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    pointer-events: none;
}

.hz-toast-item {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    animation: hzToastIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes hzToastIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* FAQ Accordion Item */
details.hz-faq-item summary {
    cursor: pointer;
    list-style: none;
}
details.hz-faq-item summary::-webkit-details-marker {
    display: none;
}
details.hz-faq-item[open] summary .hz-faq-icon {
    transform: rotate(180deg);
}
