.btn-gray{height:40px}.input-group-append{height:40px}.form-checkbox{margin-bottom:15px}.form-checkbox,.form-checkbox label{display:flex;align-items:center;width:100%;justify-content:space-between}.form-checkbox:last-child{margin-bottom:0}.checkbox{cursor:pointer}.checkbox input{display:none}.checkbox input+.label{display:block;position:relative;width:33px;height:10px;cursor:pointer}.checkbox input+.label:before{width:100%;height:100%;background:hsla(0,0%,84.7%,.18);border-radius:5px}.checkbox input+.label:after,.checkbox input+.label:before{content:"";display:block;-webkit-transition:all .3s;transition:all .3s}.checkbox input+.label:after{width:18px;height:18px;border-radius:4px;background:#fff;position:absolute;left:-3px;top:calc(50% - 9px)}.checkbox input+.label:hover:after{background:#ccc}.checkbox input:checked+.label:before{background:#4986f5}.checkbox input:checked+.label:after{left:calc(100% - 15px)}.change_container{display:flex;align-items:center;white-space:nowrap}.change_changename{margin-bottom:0;display:flex;height:42px}.change_container .btn{padding:8px 20px}.change_container .btn-primary{border-top-left-radius:0;border-bottom-left-radius:0;margin-left:1px}@media (max-width:1180px){.profile-settings .form-row .form-label{padding-right:0}.profile-settings .form-row .form-field,.profile-settings .form-row .form-label,.profile-settings .form-row .input-field{width:100%}.profile-settings .form-row .form-label{padding-right:0}.profile-settings .form-row label{display:block!important}.profile-settings .form-row{display:block!important;margin-bottom:25px}.profile-settings .form-row .form-field,.profile-settings .form-row .form-label{margin-bottom:15px}.change_container{flex-direction:column}.change_container .change_buttons{margin:15px 0 0}}@media (max-width:480px){.change_container .change_load{padding:0;margin-bottom:10px;margin-top:10px;width:100%}.change_container .change_group{width:100%}.change_container .change_buttons{width:100%;flex-direction:column;align-items:flex-start}.change_container .change_buttons .btn{width:100%;text-align:center;justify-content:center}.change_container .change_buttons .btn-close{width:20%}.change_container .change_changename{width:100%}}.change_avatar{width:42px;height:42px}.change_avatar img{width:3rem;height:3rem;position:relative;flex-basis:4.375rem;border-radius:50%;border:calc(4.375rem / 40) solid #434851}.change_nick{font-size:15px;font-weight:500;display:flex;align-items:center;margin:10px 15px 0;color:#fff}.change_buttons{display:flex;margin-left:auto;align-items:center}.change_load{display:flex;padding-right:20px;margin-bottom:0}.change_load label{margin-bottom:0}.change_load .change_group{display:flex;height:40px}.change_load .change_group .btn{display:flex;align-items:center}.change_load .change_group .btn:first-child{border-top-right-radius:0;border-bottom-right-radius:0}.change_load .change_group .btn:last-child{border-top-left-radius:0;border-bottom-left-radius:0}.change_load .change_group .btn:last-child:hover{background-color:initial}.change_load .change_hidden,.change_load input{display:none}.input-group-prepend .btn:first-child{border-radius:6px 0 0 6px}.input-group .input-field:not(:first-child){border-top-left-radius:0;border-bottom-left-radius:0}.input-group .input-field:not(:last-child){border-top-right-radius:0;border-bottom-right-radius:0}.change_changename .input-group-prepend .btn,.change_group .btn-gray{display:flex;align-items:center;background:#333a48;color:#fff;border:0;margin-right:1px}.change_changename .input-group-prepend .btn:hover,.change_group .btn-gray:hover{background:#394151!important}.profile-settings{padding:40px;border-radius:6px;background:#272d39}.profile-settings .form-row,.profile-settings .form-row label{display:flex;align-items:center;width:100%;justify-content:space-between;margin-right:0!important;margin-left:0!important}.profile-settings .form-row .input-group{flex-basis:100%!important}.profile-settings .form-row .form-field,.profile-settings .form-row .form-label,.profile-settings .form-row .input-field{flex-basis:100%}.profile-settings .form-row .input-field::-webkit-input-placeholder{color:#ccc}.profile-settings .form-row .input-field::-moz-placeholder{color:#ccc}.profile-settings .form-row .input-field::-ms-input-placeholder{color:#ccc}.profile-settings .form-row .input-field::placeholder{color:#ccc}.profile-settings .form-row .input-field:not([readonly]):active{border-color:#4986f5}.profile-settings .form-caption{width:calc(100% + 80px);margin:40px -40px;padding:7px 40px;background:#2c323f;font-size:12px;line-height:17px;text-transform:uppercase;font-weight:500;color:#5b656f}.profile-settings .btn-primary,.profile-settings .form-row .input-field{font-size:12px}@media (max-width:1180px){.profile-settings{padding:25px}.profile-settings .form-caption{width:calc(100% + 50px);margin:20px -25px;padding:7px 20px}}@media (max-width:820px){.main-container .container:not(.navbar){margin-bottom:30px}.profile-settings{padding:15px}.profile-settings .form-caption{width:calc(100% + 30px);margin:15px -15px}.profile-settings .form-row{display:block;margin-bottom:25px}}@media (max-width:459px){.profile-settings{padding:20px}.profile-settings .form-caption{width:calc(100% + 40px);margin-left:-20px;margin-right:-20px;padding:7px 20px}}
    :root {
        --bg-main: #20242d;
        --bg-card: #2b313c;
        --primary-blue: #1966f2;
        --success-green: #2ecc71;
        --text-bright: #ffffff;
        --text-dim: #9ca3af;
        --danger: #ff4d4d;
        --input-bg: rgba(0, 0, 0, 0.2);
    }

    .profile-settings {
        max-width: 400px;
        margin: 20px auto;
        background: var(--bg-card);
        color: var(--text-bright);
        font-family: 'Segoe UI', Roboto, sans-serif;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    }

    /* Навигация по вкладкам */
    .tabs-nav {
        display: flex;
        background: rgba(0,0,0,0.2);
        padding: 10px;
        gap: 5px;
    }

    .tab-btn {
        flex: 1;
        padding: 10px;
        border: none;
        background: transparent;
        color: var(--text-dim);
        cursor: pointer;
        border-radius: 10px;
        transition: 0.3s;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        font-size: 10px;
        text-transform: uppercase;
        font-weight: bold;
    }

    .tab-btn svg { width: 20px; height: 20px; fill: currentColor; }

    .tab-btn.active {
        background: var(--primary-blue);
        color: white;
    }

    /* Контент вкладок */
    .tab-content {
        display: none;
        padding: 20px;
        animation: fadeIn 0.3s ease;
    }

    .tab-content.active { display: block; }

    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(5px); }
        to { opacity: 1; transform: translateY(0); }
    }

    /* Стили элементов */
    .change_container { text-align: center; padding-bottom: 20px; }
    .change_avatar img { width: 60px; height: 60px; border-radius: 50%; border: 3px solid var(--primary-blue); }
    
    .form-caption { font-size: 11px; color: var(--text-dim); margin: 15px 0 10px; text-transform: uppercase; }
    .section-block { background: rgba(0,0,0,0.15); border-radius: 12px; padding: 15px; margin-bottom: 15px; }
    
    .fake-input { 
        width: 100%; background: var(--input-bg); border: 1px solid rgba(255,255,255,0.1); 
        padding: 12px; border-radius: 8px; color: white; margin-bottom: 10px; box-sizing: border-box;
    }

    .session-item { display: flex; justify-content: space-between; font-size: 12px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
    
    .btn-action { 
        width: 100%; padding: 12px; border-radius: 10px; border: none; font-weight: 600; cursor: pointer; transition: 0.3s;
    }
    .btn-primary { background: var(--primary-blue); color: white; }
    .btn-exit { background: rgba(255, 77, 77, 0.1); color: var(--danger); margin-top: 10px; }

    .status-verified { color: var(--success-green); display: flex; align-items: center; gap: 5px; font-weight: bold; }
    
    /* Стиль для блока отображения пароля */
    .password-display-box {
        background: rgba(25, 102, 242, 0.1);
        border: 1px dashed var(--primary-blue);
        border-radius: 10px;
        padding: 12px;
        margin-top: 10px;
        display: none; /* Скрыто по умолчанию */
        text-align: center;
    }

    .password-value {
        font-family: monospace;
        font-size: 18px;
        color: var(--text-bright);
        letter-spacing: 2px;
    }

    .loader-sm {
        width: 18px;
        height: 18px;
        border: 2px solid #FFF;
        border-bottom-color: transparent;
        border-radius: 50%;
        display: inline-block;
        animation: rotation 1s linear infinite;
    }

    @keyframes rotation { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
    
    .input-wrapper { position: relative; }
    .toggle-pass {
        position: absolute;
        right: 12px;
        top: 12px;
        cursor: pointer;
        opacity: 0.5;
    }

    /* Дополнительные стили для новых полей */
    .row-inputs {
        display: flex;
        gap: 10px;
        margin-bottom: 10px;
    }
    
    .input-group {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .input-group label {
        font-size: 10px;
        color: var(--text-dim);
        margin-bottom: 4px;
        text-transform: uppercase;
        margin-left: 5px;
    }

    /* Стилизация выпадающего списка */
    select.fake-input {
        appearance: none;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 10px center;
        background-size: 14px;
        cursor: pointer;
    }