/* =========================================================
   Aplikasi Web Agenda Rapat - Style Sheet Kustom
   Tema: Soft Orange & Clean White
   ========================================================= */

:root {
    --primary-50: #fff7ed;
    --primary-100: #ffedd5;
    --primary-200: #fed7aa;
    --primary-300: #fdba74;
    --primary-400: #fb923c;
    --primary-500: #f97316;
    --primary-600: #ea580c;
    --primary-700: #c2410c;
    --primary-800: #9a3412;
    --surface-white: #ffffff;
    --surface-card: #ffffff;
    --surface-muted: #f8fafc;
    --border-soft: #f1f5f9;
    --border-orange: #fed7aa;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: #334155;
    background-color: #fcfaf8;
}

/* Custom scrollbars */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #f8fafc;
}
::-webkit-scrollbar-thumb {
    background: #fdba74;
    border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
    background: #f97316;
}

/* Soft orange glow effects */
.glow-orange-sm {
    box-shadow: 0 4px 20px -2px rgba(249, 115, 22, 0.12);
}
.glow-orange-md {
    box-shadow: 0 10px 30px -4px rgba(249, 115, 22, 0.18);
}

/* Card border accents */
.card-soft {
    background: #ffffff;
    border: 1px solid #fce7d2;
    border-radius: 1.25rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.card-soft:hover {
    border-color: #fdba74;
    box-shadow: 0 8px 25px -3px rgba(249, 115, 22, 0.1);
}

/* Interactive Timeline Styles */
.timeline-grid {
    position: relative;
    overflow-x: auto;
}
.timeline-header {
    display: grid;
    grid-template-columns: 200px repeat(10, minmax(80px, 1fr));
    border-bottom: 2px solid #fed7aa;
}
.timeline-row {
    display: grid;
    grid-template-columns: 200px repeat(10, minmax(80px, 1fr));
    min-height: 70px;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
}
.timeline-cell {
    border-right: 1px dashed #fce7d2;
    transition: background-color 0.15s ease;
}
.timeline-cell:hover {
    background-color: #fff7ed;
}

.timeline-event-block {
    position: absolute;
    top: 8px;
    bottom: 8px;
    border-radius: 10px;
    padding: 6px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    z-index: 10;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.timeline-event-block:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 6px 16px rgba(234, 88, 12, 0.25);
}

/* Form inputs soft orange focus */
.form-input-soft {
    transition: all 0.2s ease-in-out;
}
.form-input-soft:focus {
    border-color: #f97316;
    outline: none;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.15);
}

/* Participant Badge Multi-Select */
.participant-item {
    transition: all 0.2s ease;
    cursor: pointer;
    user-select: none;
}
.participant-item.selected {
    background-color: #fff7ed;
    border-color: #f97316;
}
.participant-item:hover {
    background-color: #fffaf5;
}

/* Animation utilities */
@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.animate-fade-in {
    animation: fadeInSlide 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
