
.profile-edit-wrapper .edit-container-profile {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    width: 100%;
    transition: background-color 0.3s ease;
}

.profile-edit-wrapper .edit-container {
    width: 100%;
    max-width: 500px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 0 1px rgba(0,0,0,.125), 0 1px 3px rgba(0,0,0,.2);
    padding: 25px;
    margin: 20px;
    transition: all 0.3s ease;
}

.profile-edit-wrapper .header {
    margin-bottom: 25px;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 15px;
}

.profile-edit-wrapper .header h2 {
    font-size: 1.25rem;
    color: #343a40;
}

.profile-edit-wrapper .header p {
    color: #6c757d;
    font-size: 0.875rem;
}

.profile-edit-wrapper .form-group {
    margin-bottom: 1rem;
}

.profile-edit-wrapper .form-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 5px;
    font-size: 0.875rem;
    color: #212529;
}

.profile-edit-wrapper .form-control {
    width: 100%;
    padding: 0.375rem 0.75rem;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    font-size: 1rem;
    background-color: #fff;
    color: #212529;
    outline: none;
    transition: border-color 0.15s ease-in-out;
}

.profile-edit-wrapper .form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

.profile-edit-wrapper .form-control:disabled {
    background-color: #e9ecef;
    cursor: not-allowed;
}

.profile-edit-wrapper .btn-group {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.profile-edit-wrapper .btn {
    flex: 1;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 400;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid transparent;
    font-size: 1rem;
    transition: all 0.15s ease-in-out;
}

.profile-edit-wrapper .btn-save {
    background-color: #0d6efd;
    color: #fff;
}

.profile-edit-wrapper .btn-save:hover {
    background-color: #0b5ed7;
}

.profile-edit-wrapper .btn-cancel {
    background-color: #f8f9fa;
    color: #4b545c !important;
    border: 1px solid #ced4da;
}

.profile-edit-wrapper .btn-cancel:hover {
    background-color: #e2e6ea;
    color: #212529 !important;
}

.profile-edit-wrapper .help-text {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 4px;
}

/* --- DARK MODE --- */

[data-bs-theme="dark"] .profile-edit-wrapper .edit-container {
    background-color: #3f474e;
    color: #fff;
    box-shadow: 0 0 1px rgba(255,255,255,.125);
}

[data-bs-theme="dark"] .profile-edit-wrapper .header {
    border-bottom-color: #4b545c;
}

[data-bs-theme="dark"] .profile-edit-wrapper .header h2 {
    color: #fff;
}

[data-bs-theme="dark"] .profile-edit-wrapper .header p,
[data-bs-theme="dark"] .profile-edit-wrapper .help-text {
    color: #adb5bd;
}

[data-bs-theme="dark"] .profile-edit-wrapper .form-group label {
    color: #ced4da;
}

[data-bs-theme="dark"] .profile-edit-wrapper .form-control {
    background-color: #343a40;
    border-color: #6c757d;
    color: #fff;
}

[data-bs-theme="dark"] .profile-edit-wrapper .form-control:focus {
    background-color: #3f474e;
    border-color: #80bdff;
}

[data-bs-theme="dark"] .profile-edit-wrapper .form-control:disabled {
    background-color: #4b545c;
    color: #adb5bd;
}

[data-bs-theme="dark"] .profile-edit-wrapper .btn-cancel {
    background-color: #4b545c;
    border-color: #6c757d;
    color: #ffffff !important;
}

[data-bs-theme="dark"] .profile-edit-wrapper .btn-cancel:hover {
    background-color: #3f474e;
    color: #ffffff !important;
}

/* На компьютере всё как обычно. На мобилках (до 768px) - магия */
