/* Profile controls use the same geometry in both themes. */
.dp-public :is(.profile-settings-sections,.profile-settings-form,.dp-profile-language) {
  --ps-bg:#fff;--ps-soft:#f2f5fb;--ps-line:#d4dceb;--ps-text:#1b2740;
  --ps-primary:#3565eb;--ps-hover:#2454d8;--ps-ring:#3565eb35;
  --ps-danger-bg:#fff3f3;--ps-danger-line:#edb5bd;--ps-danger-text:#b93646;
  --ps-switch:#dce3ef;--ps-knob:#fff;
}
.dp-timeweb :is(.profile-settings-sections,.profile-settings-form,.dp-profile-language) {
  --ps-bg:#141a34;--ps-soft:#1c2545;--ps-line:#435174;--ps-text:#f6f7ff;
  --ps-primary:#4c61f5;--ps-hover:#6075ff;--ps-ring:#4c61f54d;
  --ps-danger-bg:#351f2c;--ps-danger-line:#815061;--ps-danger-text:#ffb7c2;
  --ps-switch:#354365;--ps-knob:#b8c6e3;
}
.dp-public .profile-settings-sections {display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:6px;border:1px solid var(--ps-line);border-radius:14px;background:var(--ps-soft);}
.dp-public .profile-settings-sections a {display:inline-flex;align-items:center;justify-content:center;gap:10px;min-width:140px;min-height:46px;margin:0;padding:10px 18px;border:1px solid transparent;border-radius:10px;background:transparent;color:var(--ps-text);font-size:14px;font-weight:500;line-height:1.4;text-decoration:none;}
.dp-public .profile-settings-sections a i {font-size:21px;color:currentColor;}
.dp-public .profile-settings-sections a:hover {background:var(--ps-bg);border-color:var(--ps-line);color:var(--ps-text);}
.dp-public .profile-settings-sections a.active {background:var(--ps-primary);border-color:var(--ps-primary);color:#fff;box-shadow:0 3px 10px var(--ps-ring);}
.dp-public .profile-settings-form :is(.btn-custom-mini,.btn-custom-big,.btn-custom) {gap:8px;border:1px solid transparent;border-radius:11px;font-size:14px;font-weight:500;line-height:1.4;opacity:1;transform:none;}
.dp-public .profile-settings-form :is(.btn-custom-mini,.btn-custom) {min-height:40px;padding:9px 16px;}
.dp-public .profile-settings-form .actionSettingsSaveEditProfile {min-width:168px;min-height:46px;padding:12px 24px;background:var(--ps-primary);border-color:var(--ps-primary);color:#fff!important;box-shadow:0 3px 12px var(--ps-ring);}
.dp-public .profile-settings-form .actionSettingsSaveEditProfile:hover:not(:disabled) {background:var(--ps-hover);border-color:var(--ps-hover);opacity:1;}
.dp-public .profile-settings-form :is(.button-color-scheme2,.button-color-scheme3,.button-color-scheme4) {background:var(--ps-soft);border-color:var(--ps-line);color:var(--ps-text)!important;}
.dp-public .profile-settings-form :is(.button-color-scheme2,.button-color-scheme3,.button-color-scheme4):hover {background:var(--ps-bg);border-color:var(--ps-primary);color:var(--ps-text)!important;opacity:1;}
.dp-public .profile-settings-form .button-color-scheme6 {background:var(--ps-danger-bg);border-color:var(--ps-danger-line);color:var(--ps-danger-text)!important;}
.dp-public .profile-settings-form .button-color-scheme6:hover {background:var(--ps-danger-bg);border-color:var(--ps-danger-text);opacity:1;}
.dp-public .profile-settings-form :is(button:disabled,[aria-disabled="true"]) {opacity:.5;cursor:not-allowed;box-shadow:none;}
.dp-public .profile-settings-form .switch-toggle-slider {background:var(--ps-switch);border-color:var(--ps-line)!important;}
.dp-public .profile-settings-form .switch-toggle-slider::after {background:var(--ps-knob);box-shadow:0 1px 4px #0002;}
.dp-public .profile-settings-form .switch-input:checked~.switch-toggle-slider {background:var(--ps-primary);border-color:var(--ps-primary)!important;}
.dp-public .profile-settings-form .switch-input:checked~.switch-toggle-slider::after {background:#fff;}
.dp-public .profile-settings-form .switch-input:disabled~.switch-toggle-slider {opacity:.5;cursor:not-allowed;}
.dp-public .profile-settings-form .switch-input:focus-visible~.switch-toggle-slider {outline:2px solid var(--ps-primary);outline-offset:3px;}
.dp-public .profile-settings-form .form-check-input {border-color:var(--ps-line)!important;}
.dp-public .profile-settings-form .form-check-input:checked {background-color:var(--ps-primary);border-color:var(--ps-primary)!important;}
.dp-public .dp-profile-language a.dp-profile-language__option {background:var(--ps-soft);border-color:var(--ps-line);color:var(--ps-text);}
.dp-public .dp-profile-language a.dp-profile-language__option[aria-current="true"] {background:var(--ps-primary);border-color:var(--ps-primary);color:#fff;}
.dp-public :is(.profile-settings-sections a,.profile-settings-form button,.profile-settings-form [class*="btn-"],.dp-profile-language__option):focus-visible {outline:2px solid var(--ps-primary);outline-offset:3px;}
@media(max-width:575px) {
  .dp-public .profile-settings-sections {display:flex;width:100%;gap:5px;padding:5px;}
  .dp-public .profile-settings-sections a {flex:1;min-width:0;padding:10px 12px;}
  .dp-public .profile-settings-form .actionSettingsSaveEditProfile {width:100%;}
}
