/* Styles frontend pour les doodles (à implémenter en Phase 2) */

.gas-doodle-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.gas-doodle-description {
    background: var(--gray-50);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    border-left: 4px solid var(--primary-color);
}

/* Modal de succès inscription automatique */
.doodle-success-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.doodle-success-modal-overlay.show {
    opacity: 1;
}

.doodle-success-modal {
    background: white;
    border-radius: 16px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.doodle-success-modal-overlay.show .doodle-success-modal {
    transform: scale(1);
}

.doodle-success-header {
    text-align: center;
    padding: 40px 30px 20px;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-bottom: 3px solid #10b981;
}

.doodle-success-header .success-icon {
    font-size: 64px;
    margin-bottom: 15px;
    animation: successPulse 0.6s ease;
}

@keyframes successPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.doodle-success-header h2 {
    margin: 0;
    font-size: 28px;
    color: #065f46;
    font-weight: 700;
}

.doodle-success-body {
    padding: 30px;
}

.doodle-success-body .success-message {
    font-size: 16px;
    line-height: 1.6;
    color: #374151;
    margin: 0 0 20px 0;
    text-align: center;
}

.doodle-success-body .activity-info {
    padding: 15px;
    background: #f0f9ff;
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
    text-align: center;
    margin-top: 15px;
}

.doodle-success-body .activity-info strong {
    font-size: 18px;
    color: #1e40af;
}

.doodle-success-actions {
    padding: 20px 30px 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.doodle-success-actions .btn {
    display: block;
    width: 100%;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.doodle-success-actions .btn-primary {
    background: #3b82f6;
    color: white;
}

.doodle-success-actions .btn-primary:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.doodle-success-actions .btn-secondary {
    background: #10b981;
    color: white;
}

.doodle-success-actions .btn-secondary:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.doodle-success-actions .btn-outline {
    background: white;
    color: #6b7280;
    border-color: #d1d5db;
}

.doodle-success-actions .btn-outline:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    color: #374151;
}

/* Responsive design */
@media (max-width: 768px) {
    .doodle-container {
        padding: 15px;
    }

    .doodle-form-header h1 {
        font-size: 24px;
    }

    .plages-grid {
        grid-template-columns: 1fr;
    }

    .radio-group {
        flex-direction: column;
        align-items: stretch;
    }

    .radio-option {
        width: 100%;
    }

    .doodle-success-modal {
        margin: 20px;
    }

    .doodle-success-header {
        padding: 30px 20px 15px;
    }

    .doodle-success-header .success-icon {
        font-size: 48px;
    }

    .doodle-success-header h2 {
        font-size: 22px;
    }

    .doodle-success-body {
        padding: 20px;
    }

    .doodle-success-actions {
        padding: 15px 20px 20px;
    }
}