/* Custom styles for WCOM Studio - Déposer un projet & Suivi de projet */

/* Glassmorphism card effect */
.glass-card {
    background: rgba(8, 17, 32, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 102, 255, 0.15);
}

.glass-card:hover {
    border-color: rgba(0, 102, 255, 0.3);
}

/* Custom interactive card options (Step 1) */
.option-card {
    position: relative;
    cursor: pointer;
    background: rgba(10, 21, 38, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.option-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 102, 255, 0.4);
    box-shadow: 0 10px 20px -10px rgba(0, 102, 255, 0.2);
}

.option-card.selected {
    border-color: #0066ff;
    background: rgba(0, 102, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 102, 255, 0.2), inset 0 0 10px rgba(0, 102, 255, 0.15);
}

.option-card.selected .card-check {
    opacity: 1;
    transform: scale(1);
}

/* Custom active step styling */
.step-indicator {
    transition: all 0.4s ease;
}

.step-indicator.active {
    color: #4cc2ff;
}

.step-indicator.active .step-number {
    background: #0066ff;
    border-color: #0066ff;
    box-shadow: 0 0 15px rgba(0, 102, 255, 0.6);
    color: #fff;
}

.step-indicator.completed .step-number {
    background: rgba(0, 102, 255, 0.2);
    border-color: #0066ff;
    color: #4cc2ff;
}

/* Transitions for multi-step form */
.form-step {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.form-step.hidden {
    display: none;
    opacity: 0;
    transform: translateY(10px);
}

/* Custom range input slider */
.custom-range {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 9999px;
    outline: none;
}

.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #0066ff;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 102, 255, 0.8);
    transition: transform 0.1s ease;
}

.custom-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* Drag & Drop Zone */
.dropzone-area {
    border: 2px dashed rgba(0, 102, 255, 0.2);
    background: rgba(10, 21, 38, 0.5);
    transition: all 0.3s ease;
}

.dropzone-area.dragover {
    border-color: #0066ff;
    background: rgba(0, 102, 255, 0.08);
}

/* Pulsing dot for step-in-progress timeline on search page */
@keyframes timeline-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 102, 255, 0.7);
    }
    50% {
        transform: scale(1.15);
        box-shadow: 0 0 0 8px rgba(0, 102, 255, 0);
    }
}

.pulse-node {
    animation: timeline-pulse 2s infinite ease-in-out;
}
