/* Modulo Preventivo Styles */
.mp-340-container {
    display: flex;
    flex-direction: column;
    min-height: 600px;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    font-family: 'Poppins', sans-serif;
    text-align: center;
}

.mp-340-left {
    flex: 1;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background-color: var(--mp-bg-color, #ffffff);
}

.mp-340-right {
    display: none; /* Hide background image on right since it's centered layout */
}

.mp-340-step {
    display: none;
    animation: fadeIn340 0.5s ease;
}

.mp-340-step.active {
    display: block;
}

@keyframes fadeIn340 {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.mp-340-title {
    font-size: 32px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 40px;
    line-height: 1.3;
}

.mp-340-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.mp-340-options-inline {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.mp-340-options-inline .mp-340-option {
    flex: 1;
    min-width: 150px;
}

.mp-340-option {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    font-weight: 500;
    color: #4b5563;
    position: relative;
}

.mp-340-option:hover {
    border-color: #b08a3e;
    background: #fdfbf7;
}

.mp-340-option.selected {
    border-color: #b08a3e;
    background: #fdfbf7;
    color: #b08a3e;
}

.mp-340-option input[type="radio"] {
    display: none;
}

.mp-340-opt-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #f3f4f6;
    border-radius: 6px;
    margin-right: 15px;
    font-size: 14px;
    font-weight: 600;
    color: #6b7280;
    transition: all 0.3s;
    position: absolute;
    left: 20px;
}

.mp-340-option.selected .mp-340-opt-letter {
    background: #b08a3e;
    color: #fff;
}

.mp-340-input-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 400px;
    margin: 0 auto;
}

.mp-340-input {
    width: 100%;
    padding: 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 18px;
    font-family: inherit;
    outline: none;
    transition: all 0.3s;
    text-align: center;
}

.mp-340-input:focus {
    border-color: #b08a3e;
}

.mp-340-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.mp-340-btn {
    padding: 16px 40px;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s;
}

.mp-340-btn-next, .mp-340-btn-submit {
    background: #b08a3e;
    color: #fff;
}

.mp-340-btn-next:hover, .mp-340-btn-submit:hover {
    background: #957534;
    transform: translateY(-2px);
}

.mp-340-btn-prev {
    background: #f3f4f6;
    color: #4b5563;
}

.mp-340-btn-prev:hover {
    background: #e5e7eb;
}

.mp-340-messages {
    margin-top: 20px;
    font-size: 16px;
    font-weight: 500;
    min-height: 24px;
}

.mp-340-messages.error {
    color: #ef4444;
}

.mp-340-messages.success {
    color: #10b981;
}

/* Date Picker adjustments */
.mp-340-date-picker {
    max-width: 400px;
    margin: 0 auto;
}

.mp-340-date-picker label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #4b5563;
}

@media (max-width: 768px) {
    .mp-340-title {
        font-size: 24px;
    }
    
    .mp-340-left {
        padding: 40px 20px;
    }
    
    .mp-340-option {
        font-size: 16px;
        padding: 15px;
    }
    
    .mp-340-btn {
        padding: 14px 30px;
        font-size: 16px;
    }
}