/* === Modal Katz Styles améliorés === */

.popup-katz-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    display: none;
}

.popup-katz-content {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 95%;
    max-width: 950px;
    max-height: 90vh;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 12px;
    padding: 35px 30px;
    transform: translate(-50%, -50%);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    font-family: 'Nunito Sans', sans-serif;
}

/* Scroll personnalisé */
.popup-katz-content::-webkit-scrollbar {
    width: 8px;
}

.popup-katz-content::-webkit-scrollbar-thumb {
    background-color: #bbb;
    border-radius: 4px;
}

/* Titre */
.popup-katz-content h3 {
    text-align: center;
    font-size: 24px;
    color: var(--color1, #e67e22);
    margin-bottom: 20px;
}

/* Form sections */
.katz-section {
    margin-bottom: 20px;
}

.katz-section label {
    display: block;
    font-weight: 700;
    font-size: 14px;
    color: #2c3e50;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.katz-section select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 15px;
    background-color: #fefefe;
    transition: border 0.2s ease;
}

.katz-section select:focus {
    border-color: var(--color1, #e67e22);
    outline: none;
}

/* Actions */
.katz-actions {
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

.katz-actions .btn {
    min-width: 120px;
    padding: 10px 20px;
    font-weight: 600;
    border-radius: 6px;
    font-size: 16px;
}

/* Résultat catégorie */
#katz_result {
    font-size: 18px;
    font-weight: bold;
    color: #d35400;
}

#katz_description {
    margin-top: 10px;
    font-size: 14px;
    color: #34495e;
}

/* Responsive */
@media (max-width: 600px) {
    .popup-katz-content {
        padding: 20px;
    }

    .katz-container {
        flex-direction: column;
    }
}