/* Checkbox Premium Design */
.field-title {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #495057;
    font-size: 1rem;
}

.field-title i {
    color: #3399ff;
    margin-right: 8px;
}

.checkbox-container {
    margin-top: 8px;
}

.checkbox-option {
    display: flex !important;
    align-items: center !important;
    padding: 18px 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    flex-direction: row !important;
    justify-content: flex-start !important;
}

.checkbox-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(51, 153, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.checkbox-option:hover::before {
    left: 100%;
}

.checkbox-option:hover {
    border-color: #3399ff;
    background: linear-gradient(135deg, #f8f9ff 0%, #e6f3ff 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(51, 153, 255, 0.15);
}

.checkbox-option input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 24px;
    height: 24px;
    border: 3px solid #ddd;
    border-radius: 6px;
    margin-right: 15px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: white;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    flex-shrink: 0 !important;
    display: inline-block;
    vertical-align: middle;
}

.checkbox-option:hover .checkbox-custom {
    border-color: #3399ff;
    transform: scale(1.1);
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-custom {
    border-color: #28a745;
    background: linear-gradient(135deg, #28a745, #20c997);
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: white;
    font-size: 14px;
    font-weight: bold;
    animation: checkmark-bounce 0.5s ease forwards;
}

@keyframes checkmark-bounce {
    0% { transform: translate(-50%, -50%) scale(0) rotate(0deg); }
    50% { transform: translate(-50%, -50%) scale(1.3) rotate(180deg); }
    100% { transform: translate(-50%, -50%) scale(1) rotate(360deg); }
}

.checkbox-label {
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    flex: 1 !important;
    transition: all 0.3s ease;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin: 0;
    vertical-align: middle;
}

.main-text {
    flex: 1;
    text-align: left;
}

.benefit-badge {
    background: linear-gradient(135deg, #ffc107, #ffed4e);
    color: #856404;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-left: 12px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.checkbox-option:hover .checkbox-label {
    color: #3399ff;
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-custom + .checkbox-label {
    color: #28a745;
    font-weight: 700;
}

.checkbox-option input[type="checkbox"]:checked + .checkbox-custom + .checkbox-label .benefit-badge {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    opacity: 1;
    transform: scale(1.1);
    animation: badge-glow 2s infinite;
}

@keyframes badge-glow {
    0%, 100% { box-shadow: 0 0 5px rgba(40, 167, 69, 0.5); }
    50% { box-shadow: 0 0 15px rgba(40, 167, 69, 0.8); }
}

.checkbox-description {
    color: #666;
    font-size: 0.9rem;
    margin-left: 39px;
    font-style: italic;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 10px 15px;
    border-radius: 8px;
    border-left: 4px solid #3399ff;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    transition: all 0.3s ease;
}

.checkbox-description i {
    color: #3399ff;
    font-size: 1rem;
}

.checkbox-option input[type="checkbox"]:checked ~ .checkbox-description {
    color: #155724;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-left-color: #28a745;
}

/* Efeito de sucesso quando marcado */
.checkbox-option input[type="checkbox"]:checked {
    animation: success-pulse 0.6s ease;
}

@keyframes success-pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.salao-info-display {
    background-color: #e8f4fd;
    border-left: 4px solid #3399ff;
    padding: 12px 15px;
    margin-top: 12px;
    border-radius: 5px;
    font-size: 0.9rem;
    color: #333;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.salao-info-display i {
    color: #3399ff;
    font-size: 1.1em;
    margin-top: 2px;
}

.salao-info-display.hidden {
    display: none;
}

/* Responsivo */
@media (max-width: 768px) {
    .checkbox-option {
        padding: 15px;
        flex-direction: row;
        align-items: center;
    }
    
    .checkbox-custom {
        width: 22px;
        height: 22px;
        margin-right: 12px;
    }
    
    .checkbox-label {
        font-size: 1rem;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
    
    .benefit-badge {
        font-size: 0.75rem;
        margin-left: 8px;
    }
}

@media (max-width: 480px) {
    .checkbox-option {
        padding: 12px;
        flex-direction: row;
        align-items: center;
    }
    
    .checkbox-custom {
        width: 20px;
        height: 20px;
        margin-right: 10px;
    }
    
    .checkbox-label {
        font-size: 0.95rem;
        flex-direction: row;
        align-items: center;
    }
    
    .benefit-badge {
        font-size: 0.7rem;
        padding: 3px 6px;
        margin-left: 6px;
    }
}