/* ===== KY GUI PAGE STYLES ===== */
.bds-kygui-page {
    padding-bottom: 60px;
    background: #fff;
}

/* Agent Header */
.kygui-header-wrap {
    display: flex;
    justify-content: center;
    text-align: center;
    margin-bottom: 40px;
}



/* Agent Card */
.agent-profile-card {
    border: 1px solid #e31e24;
    border-radius: 12px;
    padding: 20px 140px 20px 24px;
    position: relative;
    min-width: 420px;
    background: #fff;
    box-shadow: 0 10px 25px rgba(227, 30, 36, 0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.agent-info .name {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    display: block;
}

.agent-info .title {
    font-size: 12px;
    color: #666;
    font-style: italic;
    display: block;
    margin: 5px 0;
}

.agent-info .phone {
    font-size: 24px;
    font-weight: 800;
    color: #e31e24;
    text-decoration: none;
}

.agent-portrait {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 130px;
}

.agent-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Form specific layout */
.kygui-form-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
}

.kygui-flex-row {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.kygui-flex-row > .form-group {
    flex: 1;
    min-width: 140px;
}

.form-section-title {
    font-size: 24px;
    font-weight: 800;
    color: #111;
    margin: 10px 0 30px;
}

/* Radio Tabs Styles */
.bds-radio-tabs {
    display: flex;
    background: #f5f5f5;
    padding: 4px;
    border-radius: 8px;
    gap: 4px;
}

.bds-radio-tabs label {
    flex: 1;
    text-align: center;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 6px;
    transition: 0.2s;
    margin: 0;
    color: #666;
    background: #f1f1f1;
}

.bds-radio-tabs input { display: none; }

.bds-radio-tabs input:checked + label {
    background: #fff;
    color: #e31e24;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* Toggle Switch Styles */
.bds-toggle-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.bds-toggle-label {
    font-size: 14px;
    font-weight: 600;
}

.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 22px;
}

.switch input { display:none; }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 22px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px; width: 16px;
    left: 3px; bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider { background-color: #e31e24; }
input:checked + .slider:before { transform: translateX(22px); }

/* Checkbox Grid */
.bds-check-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    background: #fcfcfc;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.check-item {
    display: flex !important;
    align-items: center !important;
    gap: 10px;
    font-size: 14px;
    cursor: pointer;
    color: #444;
    white-space: nowrap;
    margin: 0 !important;
}

.check-item input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin: 0;
    outline: none !important;
    box-shadow: none !important;
}

@media (max-width: 1024px) {
    .kygui-form-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .kygui-header-wrap {
        flex-direction: column;
        gap: 20px;
    }
}
