/* Government Policies Simplified - Custom Styles */

/* Smooth transitions for interactive elements */
.transition-all { transition: all 0.2s ease; }

/* Section editor sidebar indicator */
.section-customized { border-left: 3px solid #f59e0b; }
.section-template { border-left: 3px solid #d1d5db; }

/* Status timeline */
.timeline-line {
    position: absolute;
    left: 15px;
    top: 32px;
    bottom: 0;
    width: 2px;
    background: #e5e7eb;
}

.timeline-item:last-child .timeline-line { display: none; }

/* Editor outline active section */
.outline-item.active {
    background-color: #eff6ff;
    border-left-color: #2563eb;
    color: #1d4ed8;
    font-weight: 600;
}

.outline-item {
    border-left: 2px solid transparent;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.15s ease;
}

.outline-item:hover {
    background-color: #f8fafc;
}

/* Card hover effects */
.sop-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
}

/* Template card selection */
.template-card {
    cursor: pointer;
    transition: all 0.2s ease;
}

.template-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59,130,246,0.15);
}

.template-card.selected {
    border-color: #2563eb;
    background-color: #eff6ff;
    box-shadow: 0 0 0 2px #2563eb;
}

/* Loading spinner */
.spinner {
    border: 3px solid #e5e7eb;
    border-top-color: #3b82f6;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    animation: spin 0.7s linear infinite;
}

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

/* Textarea auto-resize helper */
textarea.auto-resize {
    overflow: hidden;
    resize: vertical;
    min-height: 100px;
}

/* Mobile nav toggle */
@media (max-width: 768px) {
    .mobile-hidden { display: none; }
}
