/**
 * Vulcano Ovens - Public CSS
 * Styles for the Frontend (My Account and Smart Finder)
 */

/* Mon Compte - Grille des Fours */
.vulcano-ovens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.vulcano-oven-card {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    background: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vulcano-oven-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.vulcano-oven-card h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #cd001a; /* Rouge primaire Vulcano */
    font-size: 1.25rem;
}

.vulcano-oven-card-img {
    margin-bottom: 15px;
    text-align: center;
}

.vulcano-oven-card-img img {
    max-height: 120px;
    width: auto;
    border-radius: 4px;
    object-fit: contain;
}

.vulcano-oven-meta {
    margin-bottom: 5px;
    color: #4a5568;
    font-size: 0.95rem;
}

.vulcano-oven-actions {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vulcano-oven-actions .button {
    text-align: center;
    width: 100%;
    margin: 0;
    justify-content: center;
}

.vulcano-oven-actions .vulcano-btn-sav {
    background-color: #cd001a !important; /* Rouge primaire Vulcano */
    color: #ffffff !important;
    border-color: #cd001a !important;
}

.vulcano-oven-actions .vulcano-btn-sav:hover {
    background-color: #a80015 !important;
    border-color: #a80015 !important;
}

/* Séparateur de section */
.vulcano-section-divider {
    margin: 40px 0;
}

/* Bouton submit formulaire */
.vulcano-form-submit {
    margin-top: 20px;
}

/* Formulaire d'ajout de four */
.vulcano-add-oven-form {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 30px;
}

/* Smart Finder Widget */
.vulcano-smart-finder-widget {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.vulcano-smart-finder-widget h4 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #002f6c; /* Secondaire Vulcano */
}

#vulcano-smart-finder-form .vsf-row {
    margin-bottom: 15px;
}

#vulcano-smart-finder-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

#vulcano-smart-finder-form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
}

#vulcano-smart-finder-form .vsf-submit {
    margin-bottom: 0;
    margin-top: 20px;
}

#vulcano-smart-finder-form .vsf-btn {
    width: 100%;
    background: #cd001a !important;
    color: #fff !important;
    border-color: #cd001a !important;
}

/* Compatibility Badge / Single Product */
.vulcano-compatibility-badge {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 0.95em;
    line-height: 1.5;
}

.vulcano-compatibility-badge strong {
    color: #15803d;
}

/* Header Button */
.vulcano-header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #002f6c;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 9999px; /* Pill shape */
    font-size: 0.9em;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s;
}
.vulcano-header-btn:hover {
    background-color: #001f4d;
    color: #ffffff;
}
