.modal_provider_section {
    margin-bottom: 20px;
    border-radius: 10px;
    background: #f1f1f1;
    box-shadow: 4px 3px 10px 0px #d5d5d5;
    border: 1px solid #c3c3c3;
    padding: 15px;
}
.modal_provider_logo {
    height: 50px;
    width: auto;
    margin-bottom: 10px;
}
.modal_provider_header {
    margin-bottom: 20px;
}
.modal_provider_name {
    font-weight: bold;
    font-size: 16px;
}
.modal_provider_selection>label {
    color: grey;
}
.modal_provider_option input {
    width: 0;
    height: 0;
    position: absolute;
    border: 0;
    padding: 0;
}
.modal_provider_options {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.modal_provider_option>label {
    padding: 8px 10px;
    border: 1px solid #bbbbbb;
    background: #ffffff;
    border-radius: 5px;
    font-size: 13px;
    cursor: pointer;
    transition: all .15s ease-in-out;
}
.modal_provider_option input:checked+label {
    background: #000000;
    border-color: #000000;
    color: white;
}
.modal_provider_option {
    display: inline-flex;
}
.modal_provider_option>label:hover {
    border-color: black;
}
.configuration_fields .field_group {
    margin-bottom: 10px;
    width: 32%;
    text-align: left;
}
.configuration_fields {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 2%;
}
.configuration_fields .field_group label {
    margin-bottom: 5px;
    display: inline-block;
}
.configuration_fields .field_group input,
.configuration_fields .field_group textarea,
.configuration_fields .field_group select {
    border: 1px solid #c3c3c3;
    border-radius: 5px;
    font-size: 14px;
    padding: 8px 5px;
}
.configuration_fields .field_group input:focus,
.configuration_fields .field_group textarea:focus,
.configuration_fields .field_group select:focus {
    border-color: black !important;
}
.modal_provider_selection {
    text-align: center;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

/************************ Responsive styles ************************/
@media (max-width: 768px) {
    .configuration_fields .field_group {
        width: 49%;
    }
}
@media (max-width: 600px) {
    .configuration_fields .field_group {
        width: 100%;
    }
}

/* ========================================
   NEW SSO CONFIGURATION UI STYLES
   ======================================== */

/* Provider Grid Layout */
.provider-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

/* Provider Card */
.provider-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.provider-card:hover {
    border-color: #565add;
    box-shadow: 0 4px 12px rgba(86, 90, 221, 0.15);
    transform: translateY(-2px);
}

.provider-card.selected {
    border-color: #565add;
    background: #f8f9ff;
    box-shadow: 0 4px 12px rgba(86, 90, 221, 0.2);
}

/* Provider Logo */
.provider-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 15px;
}

/* Provider Name */
.provider-name {
    font-size: 16px;
    font-weight: 600;
    color: #495057;
    margin-bottom: 15px;
}

/* Provider Actions */
.provider-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 15px;
}

.provider-actions .btn {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 6px;
}

/* Protocol Selection */
.protocol-selection {
    margin-top: 15px;
}

.protocol-selection label {
    display: block;
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 10px;
}

.protocol-options {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.protocol-option {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.protocol-option:hover {
    border-color: #565add;
    background: #f8f9ff;
}

.protocol-option.selected {
    border-color: #565add;
    background: #565add;
    color: white;
}

.protocol-option input[type="radio"] {
    margin: 0;
}

/* Configuration Details Panel */
.configuration-details {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    margin-top: 20px;
    overflow: hidden;
}

.details-header {
    background: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.details-header h6 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #495057;
}

.btn-close {
    background: none;
    border: none;
    font-size: 18px;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-close:hover {
    background: #e9ecef;
    color: #495057;
}

.details-content {
    padding: 20px;
}