﻿/* ==========================================
   CREATE VISIT MODAL STYLES
   ========================================== */

/* Sélection du type de contrôle */
.control-type-selection {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.control-type-card {
    position: relative;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

 

    .control-type-card.selected {
        border-color: #3b82f6;
        background: #eff6ff;
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
    }

.control-type-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: #f3f4f6;
    border-radius: 50%;
    transition: all 0.3s ease;
}



.control-type-card.selected .control-type-icon {
    background: #3b82f6;
}

    .control-type-card.selected .control-type-icon svg {
        stroke: white;
    }

.control-type-icon svg {
    stroke: #6b7280;
    transition: stroke 0.3s ease;
}


.control-type-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.control-type-card p {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.5;
}

.control-type-card .selected-indicator {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    background: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .control-type-card .selected-indicator svg {
        stroke: white;
        stroke-width: 3;
    }

/* Info boutique actuelle */
.current-shop-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #3b82f6;
}

.shop-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.current-shop-name {
    font-size: 1rem;
    color: #1f2937;
    font-weight: 600;
}

/* Modal info header */
.shop-info-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

    .shop-info-header h4 {
        font-size: 1.25rem;
        font-weight: 600;
        color: #1f2937;
        margin-bottom: 0.5rem;
    }

    .shop-info-header p {
        font-size: 0.95rem;
        color: #6b7280;
    }

/* Schedule section */

/* Priority options */
.priority-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.priority-option {
    flex: 1;
    min-width: 150px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .priority-option:hover {
        border-color: #3b82f6;
        background: #eff6ff;
    }

    .priority-option.selected {
        border-color: #3b82f6;
        background: #eff6ff;
    }

    .priority-option input[type="radio"] {
        width: 18px;
        height: 18px;
        cursor: pointer;
    }

    .priority-option span {
        font-size: 0.95rem;
        font-weight: 500;
        color: #374151;
    }

/* Processing indicator */
.processing-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f9fafb;
    border-radius: 8px;
    margin: 1rem 0;
}

.spinner-small {
    width: 20px;
    height: 20px;
    border: 3px solid #e5e7eb;
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .control-type-selection {
        grid-template-columns: 1fr;
    }

    .priority-options {
        flex-direction: column;
    }

    .priority-option {
        min-width: 100%;
    }
}
/* ==========================================
   PLANNING VOYAGE - CALENDAR ADDITIONS
   ========================================== */

/* Zone "no-events" cliquable */
.no-events.clickable {
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    min-height: 120px;
}

    .no-events.clickable:hover {
        background: #eff6ff;
        border-radius: 8px;
        transform: translateY(-2px);
    }

    .no-events.clickable svg {
        stroke: #9ca3af;
        transition: stroke 0.3s ease;
    }

    .no-events.clickable:hover svg {
        stroke: #3b82f6;
    }

    .no-events.clickable p {
        color: #6b7280;
        font-size: 0.875rem;
        text-align: center;
        margin: 0;
        transition: color 0.3s ease;
    }

    .no-events.clickable:hover p {
        color: #3b82f6;
        font-weight: 500;
    }

/* Bouton d'ajout d'événement dans un jour avec des événements existants */

/* Amélioration des cards d'événements */
.event-card {
    cursor: pointer;
    transition: all 0.2s ease;
}

    .event-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

/* Responsive */
@media (max-width: 768px) {
    .no-events.clickable {
        min-height: 100px;
        padding: 1.5rem 0.75rem;
    }

        .no-events.clickable svg {
            width: 24px;
            height: 24px;
        }

        .no-events.clickable p {
            font-size: 0.8rem;
        }

  
}
