/*
Patrz application/themes/theme/resources/
*/

/* Step slide transition animations */
section {
    transition: transform 0.25s ease-in-out, opacity 0.25s ease-in-out;
}

#medycyna-sanitarne-register-user fieldset.summary-step ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
#medycyna-sanitarne-register-user fieldset.summary-step li {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    font-size: 0.95em;
}
#medycyna-sanitarne-register-user fieldset.summary-step li span {
    color: #666;
    min-width: 300px;
}
#medycyna-sanitarne-register-user fieldset.summary-step li strong {
    font-weight: 600;
    color: #000;
}
/* Tablet / Desktop enhancements */
@media (min-width: 576px) {
    #medycyna-sanitarne-register-user fieldset.summary-step li {
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
    }
}
#medycyna-sanitarne-register-user fieldset.summary-step h4 {
    margin-top: 1rem;
    margin-bottom: 0.75rem;
    font-size: 1.1em;
    color: #19b2ad;
}

.breadcrumbs-wrapper {
    display: none;
}


.radio-button-group {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    justify-content: flex-start;
}

.radio-button-option {
    position: relative;
    flex: 0 0 auto;
    min-width: 120px;
}

.radio-button-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.radio-button-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 20px;
    background: #f8f9fa;
    border: 1px solid #ccc;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
    min-height: 40px;
    position: relative;
    border-radius: 6px;
    max-width: 400px;

}

.radio-button-label:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    color: #495057;
}

.radio-button-label::before {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid #ccc;
    border-radius: 50%;
    background: #fff;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.radio-button-option input[type="radio"]:checked + .radio-button-label {
    background: #19b2ad;
    border-color: #19b2ad;
    color: #fff;
    font-weight: 600;
}

.radio-button-option input[type="radio"]:checked + .radio-button-label::before {
    border-color: #fff;
    background: #fff;
    box-shadow: inset 0 0 0 4px #19b2ad;
}

.radio-button-label:hover::before {
    border-color: #adb5bd;
}

.radio-button-option input[type="radio"]:focus + .radio-button-label {
    box-shadow: 0 0 0 2px rgba(25, 178, 173, 0.25);
    outline: none;
}


/* Checkbox Button Styles */
.checkbox-button-option {
    position: relative;
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-button-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-button-label {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 10px 20px;
    background: #f8f9fa;
    border: 1px solid #ccc;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    user-select: none;
    min-height: 40px;
    position: relative;
    border-radius: 6px;
    max-width: 350px;
}

.checkbox-button-label:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    color: #495057;
}

.checkbox-button-label::before {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid #ccc;
    border-radius: 3px;
    background: #fff;
    transition: all 0.25s ease;
    flex-shrink: 0;
    position: relative;
}

.checkbox-button-label::after {
    content: '';
    position: absolute;
    left: 28px;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    border-radius: 1px;
    transform: translate(-50%, -50%) rotate(45deg);
    opacity: 0;
    transition: all 0.25s ease;
}

.checkbox-button-option input[type="checkbox"]:checked + .checkbox-button-label {
    background: #19b2ad;
    border-color: #19b2ad;
    color: #fff;
    font-weight: 600;
}

.checkbox-button-option input[type="checkbox"]:checked + .checkbox-button-label::before {
    border-color: #fff;
    background: #19b2ad;
}

.checkbox-button-option input[type="checkbox"]:checked + .checkbox-button-label::after {
    opacity: 1;
}

.checkbox-button-label:hover::before {
    border-color: #adb5bd;
}

.checkbox-button-option input[type="checkbox"]:focus + .checkbox-button-label {
    box-shadow: 0 0 0 2px rgba(25, 178, 173, 0.25);
    outline: none;
}

/* Desktop optimizations */
@media (min-width: 769px) {
    .radio-button-option {
        min-width: 100px;
    }
    
    .radio-button-label {
        padding: 8px 16px;
    }
    
    .checkbox-button-label {
        padding: 8px 16px;
    }
    
    .checkbox-button-label::after {
        left: 24px;
    }

    #medycyna-sanitarne-register-user fieldset.summary-step .payment-section table td:first-of-type {
        width: 300px;
    }
}

@media (min-width: 769px) {

}

/* Mobile optimizations */
@media (max-width: 768px) {
    .radio-button-group {
        gap: 8px;
    }
    
    .radio-button-option {
        flex: 1;
        min-width: 0;
    }
    
    .radio-button-label {
        padding: 12px 16px;
        font-size: 14px;
        min-height: 44px;
    }
    
    .radio-button-label::before {
        width: 18px;
        height: 18px;
    }
}


