/* Стили для профиля */

/* Контейнер профиля */
.profile-container {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Детали профиля с вертикальным скроллом */
.profile-details {
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    /* УБРАЛИ: max-height: 50vh; overflow-y: auto; */
}



/* Элемент детали */
.detail-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
    padding: 12px;
    border-radius: 12px;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.detail-item i {
    color: #64b5f6 !important;
    font-size: 18px;
    width: 24px;
    text-align: center;
    margin-top: 2px;
    flex-shrink: 0;
}

.detail-label {
    margin: 0 0 5px 0;
    color: #8cc0ff !important;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.detail-value {
    margin: 0;
    color: white !important;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
}

/* Секция детей */
.children-section {
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.children-section h4 {
    color: white;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.children-section h4 i {
    color: #64b5f6;
}

/* Список детей */
.children-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 200px;
    overflow-y: auto;
}

.child-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.child-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(3px);
}

.child-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
}

.child-info {
    flex: 1;
    min-width: 0;
}

.child-name {
    margin: 0 0 3px 0;
    color: white;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.child-details {
    display: flex;
    gap: 8px;
    font-size: 12px;
    color: #8cc0ff;
}

.child-age, .child-classes {
    display: flex;
    align-items: center;
    gap: 3px;
}

/* Формы */
.profile-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: white;
    font-size: 14px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    font-size: 14px;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: #64b5f6;
    box-shadow: 0 0 0 2px rgba(100, 181, 246, 0.2);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Кнопки форм */
.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-danger {
    background: rgba(244, 67, 54, 0.2);
    color: #ff8a80;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.btn-danger:hover {
    background: rgba(244, 67, 54, 0.3);
    border-color: rgba(244, 67, 54, 0.5);
}
/* Модальные окна */
modal-content {
    max-width: 500px;
    max-height: 80vh;
    background: linear-gradient(135deg, #0c074d, #1a5f7a) !important;
}
/* Модальные окна */
.children-modal .modal-content {
    max-width: 500px;
    max-height: 80vh;
    background: linear-gradient(135deg, #0c074d, #1a5f7a) !important;
}

.children-modal .modal-header {
    background: linear-gradient(90deg, #0a41a5, #1a7fad);
}

/* Чекбоксы для выбора детей */
.children-select-list {
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.child-select-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s;
}

.child-select-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #64b5f6;
}

.child-select-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #667eea;
    cursor: pointer;
}

.child-select-info {
    flex: 1;
}

.child-select-name {
    font-weight: 500;
    color: white;
    font-size: 14px;
}

.child-select-details {
    font-size: 12px;
    color: #8cc0ff;
    margin-top: 3px;
}

/* Поиск детей */
.search-box {
    position: relative;
    margin-bottom: 15px;
}

.search-box input {
    width: 100%;
    padding: 12px 15px 12px 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    font-size: 14px;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
}

/* Адаптивность */
@media (max-width: 480px) {
    .profile-details {
        padding: 12px;
        margin: 15px 0;
    }

    .detail-item {
        padding: 10px;
        gap: 12px;
        margin-bottom: 12px;
    }

    .detail-label {
        font-size: 11px;
    }

    .detail-value {
        font-size: 14px;
    }

    .children-section {
        padding: 12px;
    }

    .child-item {
        padding: 8px 10px;
    }

    .child-avatar {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .children-modal .modal-content {
        width: 95%;
        max-height: 90vh;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .profile-details {
        max-height: 40vh;
    }

    .children-list {
        max-height: 150px;
    }
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.child-item {
    animation: fadeIn 0.3s ease-out;
}

/* Индикатор загрузки */
.loading {
    text-align: center;
    padding: 20px;
    color: #8cc0ff;
}

.loading i {
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
}

/* Сообщения */
.message {
    padding: 12px 15px;
    border-radius: 10px;
    margin: 10px 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: fadeIn 0.3s ease-out;
}

.message.success {
    background: rgba(76, 175, 80, 0.2);
    color: #81c784;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.message.error {
    background: rgba(244, 67, 54, 0.2);
    color: #ff8a80;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.message.warning {
    background: rgba(255, 193, 7, 0.2);
    color: #ffd54f;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

/* static/css/profile.css - добавьте эти стили */

/* Стили для форм профиля */
.profile-modal .modal-content {
    max-width: 450px;
    max-height: 80vh;
    background: linear-gradient(135deg, #0c074d, #1a5f7a) !important;
    color: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.profile-modal .modal-header {
    background: linear-gradient(90deg, #0a41a5, #1a7fad);
    color: white;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-modal .modal-header h3 {
    margin: 0;
    font-size: 1.2em;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-modal .modal-body {
    padding: 25px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}



/* Формы профиля */
.profile-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: white;
    font-weight: 500;
    font-size: 14px;
}

.form-group label i {
    color: #667eea;
    width: 16px;
}

.input-with-icon {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 16px;
}

.profile-form input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s;
    background: #f9f9f9;
}

.profile-form input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.password-input {
    position: relative;
}

.password-input input {
    padding-right: 50px;
}

.input-hint {
    color: #8cc0ff;
    font-size: 12px;
    margin-top: 5px;
    font-style: italic;
}

/* Кнопки форм */
.form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.form-actions .btn {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-actions .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.form-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.form-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.form-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Сообщения об ошибках и успехе */
.error-message {
    color: #ff4757;
    font-size: 12px;
    margin-top: 5px;
    min-height: 18px;
}

.success-message {
    color: #2ed573;
    font-size: 12px;
    margin-top: 5px;
    min-height: 18px;
}

/* Индикатор загрузки в форме */
.form-loading {
    text-align: center;
    padding: 20px;
}

.form-loading i {
    color: #667eea;
    margin-bottom: 10px;
}

/* Адаптивность для форм */
@media (max-width: 480px) {
    .profile-modal .modal-content {
        width: 95%;
        max-height: 90vh;
    }

    .profile-modal .modal-body {
        padding: 20px;
    }

    .profile-form input {
        padding: 10px 15px 10px 45px;
        font-size: 14px;
    }

    .form-actions {
        flex-direction: column;
    }

    .form-actions .btn {
        width: 100%;
    }
}

/* Стили для иконок в формах */
.profile-modal .modal-header h3 i {
    font-size: 1.2em;
}

/* Стили для placeholder */
.profile-form input::placeholder {
    color: #999;
    opacity: 0.7;
}

.profile-form input:focus::placeholder {
    opacity: 0.5;
}

/* Стили для чекбоксов и радиокнопок */
.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.form-check input[type="checkbox"],
.form-check input[type="radio"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #667eea;
}

.form-check label {
    margin: 0;
    font-size: 14px;
    color: white;
    cursor: pointer;
}

/* Стили для поиска детей */
.search-box {
    position: relative;
    margin-bottom: 20px;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #667eea;
    font-size: 16px;
}

.search-box input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid rgba(102, 126, 234, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 14px;
    transition: all 0.3s;
}

.search-box input:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

/* Стили для списка выбора детей */
.children-select-list {
    max-height: 300px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.children-select-list::-webkit-scrollbar {
    width: 6px;
}

.children-select-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.children-select-list::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.5);
    border-radius: 3px;
}

.child-select-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s;
}

.child-select-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: #667eea;
    transform: translateX(5px);
}

.child-select-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #667eea;
    cursor: pointer;
    flex-shrink: 0;
}

.child-select-info {
    flex: 1;
    min-width: 0;
}

.child-select-name {
    font-weight: 500;
    color: white;
    font-size: 14px;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.child-select-details {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: #8cc0ff;
}

.child-select-details span {
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Добавьте в static/css/profile.css */

/* Стили для простого списка детей (только имена) */
.simple-children .children-names-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.child-name-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.child-name-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateX(3px);
}

.child-icon {
    color: #64b5f6;
    font-size: 14px;
    width: 20px;
    text-align: center;
}

.child-name-text {
    color: white;
    font-size: 14px;
    font-weight: 500;
    flex: 1;
}

/* Убираем лишние отступы для простой секции */
.simple-children {
    margin-top: 20px;
}

.simple-children h4 {
    margin-bottom: 12px;
    font-size: 16px;
    color: white;
}

/* Адаптивность для простого списка */
@media (max-width: 480px) {
    .child-name-item {
        padding: 6px 10px;
    }

    .child-name-text {
        font-size: 13px;
    }
}

/* Добавьте в profile.css */
.editable-children h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 16px;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    padding: 5px;
    border-radius: 8px;
}

.editable-children h4:hover {
    background: rgba(255, 255, 255, 0.05);
}

.editable-children h4 i.fa-edit {
    font-size: 12px;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.editable-children h4:hover i.fa-edit {
    opacity: 1;
}

/* Добавьте в static/css/profile.css */

/* Стили для редактируемого списка детей */
.editable-children .children-names-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.child-name-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
    position: relative;
}

.child-name-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(102, 126, 234, 0.5);
    transform: translateX(3px);
}

.child-icon {
    color: #64b5f6;
    font-size: 14px;
    width: 20px;
    text-align: center;
}

.child-name-text {
    color: white;
    font-size: 14px;
    font-weight: 500;
    flex: 1;
}

.remove-child-icon {
    color: #ff6b6b;
    font-size: 12px;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s;
    padding: 5px;
    border-radius: 50%;
}

.remove-child-icon:hover {
    opacity: 1;
    background: rgba(255, 107, 107, 0.2);
    transform: scale(1.2);
}

/* Стили для кнопки удаления аккаунта */
.danger-btn {
    color: #ff6b6b !important;
    border-color: rgba(255, 107, 107, 0.3) !important;
    background: rgba(255, 107, 107, 0.1) !important;
}

.danger-btn:hover {
    background: rgba(255, 107, 107, 0.2) !important;
    border-color: rgba(255, 107, 107, 0.5) !important;
}

/* Стили для модального окна удаления аккаунта */
.delete-account-modal .warning-message {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

.delete-account-modal .warning-message i {
    color: #ff6b6b;
    font-size: 24px;
    margin-bottom: 10px;
    display: block;
}

.delete-account-modal .warning-message h4 {
    color: #ff6b6b;
    margin: 0 0 10px 0;
    font-size: 16px;
}

.delete-account-modal .warning-message ul {
    margin: 10px 0;
    padding-left: 20px;
    color: white;
}

.delete-account-modal .warning-message li {
    margin-bottom: 5px;
    font-size: 14px;
}

.delete-account-modal .warning-message p {
    color: #ff8a80;
    margin: 10px 0;
    font-size: 14px;
}

.delete-account-modal .confirmation-section {
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.delete-account-modal .confirmation-section p {
    color: white;
    margin-bottom: 15px;
    font-size: 14px;
}

.delete-account-modal .confirmation-section strong {
    color: #ff6b6b;
    font-weight: bold;
}

.delete-account-modal .btn-danger {
    background: linear-gradient(135deg, #c53030, #e53e3e) !important;
    color: white !important;
    border: none !important;
}

.delete-account-modal .btn-danger:hover {
    background: linear-gradient(135deg, #9b2c2c, #c53030) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(197, 48, 48, 0.4);
}

/* Адаптивность для редактируемого списка детей */
@media (max-width: 480px) {
    .child-name-item {
        padding: 6px 10px;
    }

    .child-name-text {
        font-size: 13px;
    }

    .remove-child-icon {
        font-size: 11px;
        padding: 4px;
    }

    .delete-account-modal .warning-message {
        padding: 12px;
    }

    .delete-account-modal .warning-message ul {
        font-size: 13px;
    }
}

/* Добавьте в конец profile.css */

/* Стили для текстового списка детей */
.children-text-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.child-text-item {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    border-left: 3px solid #64b5f6;
    transition: all 0.3s;
}

.child-text-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(5px);
    border-left-color: #2196f3;
}

.child-number {
    color: #64b5f6;
    font-weight: bold;
    font-size: 14px;
    min-width: 20px;
}

.child-name {
    color: white;
    font-weight: 500;
    font-size: 15px;
    flex: 1;
}

.child-details {
    color: #8cc0ff;
    font-size: 13px;
    opacity: 0.8;
}

/* Стили для отсутствия детей */
.no-children {
    text-align: center;
    padding: 25px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 2px dashed rgba(255, 255, 255, 0.1);
}

.no-children i {
    font-size: 48px;
    color: #64b5f6;
    opacity: 0.5;
    margin-bottom: 15px;
    display: block;
}

.no-children p {
    color: white;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
}

.no-children small {
    color: #8cc0ff;
    font-size: 13px;
    opacity: 0.7;
}

/* Упрощенный заголовок секции */
.simple-children h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: white;
    font-size: 16px;
    font-weight: 600;
}

.simple-children h4 i {
    color: #64b5f6;
}

/* Адаптивность для текстового списка */
@media (max-width: 480px) {
    .child-text-item {
        padding: 6px 10px;
        flex-direction: column;
        gap: 5px;
        border-left-width: 2px;
    }

    .child-number {
        font-size: 13px;
    }

    .child-name {
        font-size: 14px;
    }

    .child-details {
        font-size: 12px;
        margin-left: 25px; /* для выравнивания с именем */
    }

    .children-text-list {
        padding: 12px;
    }

    .no-children {
        padding: 20px 12px;
    }

    .no-children i {
        font-size: 36px;
    }
}

/* Анимация появления */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.child-text-item {
    animation: fadeInUp 0.3s ease-out;
    animation-fill-mode: both;
}

.child-text-item:nth-child(1) { animation-delay: 0.1s; }
.child-text-item:nth-child(2) { animation-delay: 0.2s; }
.child-text-item:nth-child(3) { animation-delay: 0.3s; }
.child-text-item:nth-child(4) { animation-delay: 0.4s; }
.child-text-item:nth-child(5) { animation-delay: 0.5s; }


/* Добавьте в profile.css */

/* Стили для секции детей (простой список) */
.children-section.simple-children {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.children-section.simple-children h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: white;
    font-size: 16px;
    font-weight: 600;
}

.children-section.simple-children h4 i {
    color: #64b5f6;
}

/* Стили для списка детей (без вложенных контейнеров) */
.children-section.simple-children .child-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    border-left: 3px solid #64b5f6;
    transition: all 0.3s;
}

.children-section.simple-children .child-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(5px);
    border-left-color: #2196f3;
}

.children-section.simple-children .child-item i {
    color: #64b5f6;
    font-size: 14px;
    width: 20px;
    text-align: center;
}

.children-section.simple-children .child-name {
    color: white;
    font-size: 15px;
    font-weight: 500;
    flex: 1;
    white-space: nowrap; /* Не переносить на новую строку */
    overflow: hidden; /* Скрывать переполнение */
    text-overflow: ellipsis; /* Показывать многоточие */
    max-width: 200px; /* Ограничить ширину */
}
/* Добавьте подсказку при наведении */
.children-section.simple-children .child-name:hover {
    overflow: visible;
    white-space: normal;
    background: rgba(0, 0, 0, 0.7);
    padding: 4px 8px;
    border-radius: 4px;
    position: relative;
    z-index: 10;
    margin-right: -10px;
}
/* Стили для отсутствия детей */
.children-section.simple-children .no-children {
    text-align: center;
    padding: 25px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 2px dashed rgba(255, 255, 255, 0.1);
}

.children-section.simple-children .no-children i {
    font-size: 36px;
    color: #64b5f6;
    opacity: 0.5;
    margin-bottom: 12px;
    display: block;
}

.children-section.simple-children .no-children p {
    color: white;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 5px;
}

.children-section.simple-children .no-children small {
    color: #8cc0ff;
    font-size: 13px;
    opacity: 0.7;
}

/* Анимация появления */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.children-section.simple-children .child-item {
    animation: slideIn 0.3s ease-out;
    animation-fill-mode: both;
}

.children-section.simple-children .child-item:nth-child(1) { animation-delay: 0.1s; }
.children-section.simple-children .child-item:nth-child(2) { animation-delay: 0.2s; }
.children-section.simple-children .child-item:nth-child(3) { animation-delay: 0.3s; }
.children-section.simple-children .child-item:nth-child(4) { animation-delay: 0.4s; }
.children-section.simple-children .child-item:nth-child(5) { animation-delay: 0.5s; }

/* Адаптивность */
@media (max-width: 480px) {
    .children-section.simple-children {
        padding: 15px;
    }

    .children-section.simple-children .child-item {
        padding: 10px 12px;
    }

    .children-section.simple-children .child-name {
        font-size: 14px;
        max-width: 150px;
    }

    .children-section.simple-children .no-children {
        padding: 20px 12px;
    }

    .children-section.simple-children .no-children i {
        font-size: 30px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .children-section.simple-children {
        padding: 18px;
    }
}
@media (min-width: 481px) and (max-width: 768px) {
    .children-section.simple-children .child-name {
        max-width: 180px;
    }
}


/* Стили для модального окна редактирования Telegram */
.modal.telegram-modal .modal-content {
    max-width: 450px;
    background: linear-gradient(135deg, #0c074d, #1a5f7a) !important;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 20px 40px rgba(0,0,0,0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.telegram-modal .modal-header {
    background: linear-gradient(90deg, #0a41a5, #1a7fad);
    color: white;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.telegram-modal .modal-header h3 {
    margin: 0;
    font-size: 1.2em;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.telegram-modal .modal-header h3 i {
    color: #0088cc; /* Цвет Telegram */
}

.telegram-modal .modal-body {
    padding: 25px;
    background: linear-gradient(135deg, rgba(12, 7, 77, 0.95), rgba(26, 95, 122, 0.95));
}

/* Стили для формы Telegram */
#editTelegramForm {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#editTelegramForm .form-group {
    margin-bottom: 0;
}

#editTelegramForm label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: white;
    font-weight: 500;
    font-size: 14px;
}

#editTelegramForm label i {
    color: #0088cc; /* Цвет Telegram */
    width: 16px;
}

#editTelegramForm .input-with-icon {
    position: relative;
}

#editTelegramForm .input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #0088cc; /* Цвет Telegram */
    font-size: 16px;
}

#editTelegramForm input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

#editTelegramForm input:focus {
    outline: none;
    border-color: #0088cc;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(0, 136, 204, 0.2);
}

#editTelegramForm input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

#editTelegramForm .input-hint {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    margin-top: 5px;
    font-style: italic;
}

/* Сообщения в форме Telegram */
#telegramMessage {
    margin: 10px 0;
    padding: 12px 15px;
    border-radius: 10px;
    font-size: 14px;
    display: none;
    animation: fadeIn 0.3s ease-out;
}

#telegramMessage.success {
    background: rgba(46, 213, 115, 0.2);
    color: #2ed573;
    border: 1px solid rgba(46, 213, 115, 0.3);
}

#telegramMessage.error {
    background: rgba(255, 71, 87, 0.2);
    color: #ff4757;
    border: 1px solid rgba(255, 71, 87, 0.3);
}

/* Кнопки формы Telegram */
.telegram-modal .form-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.telegram-modal .btn {
    flex: 1;
    padding: 14px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.telegram-modal .btn-primary {
    background: linear-gradient(135deg, #0088cc, #00aced);
    color: white;
}

.telegram-modal .btn-primary:hover {
    background: linear-gradient(135deg, #0077b5, #0099cc);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 136, 204, 0.4);
}

.telegram-modal .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.telegram-modal .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Анимация */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность */
@media (max-width: 480px) {
    .telegram-modal .modal-content {
        width: 95%;
    }

    .telegram-modal .modal-body {
        padding: 20px;
    }

    #editTelegramForm input {
        padding: 10px 15px 10px 45px;
        font-size: 14px;
    }

    .telegram-modal .form-actions {
        flex-direction: column;
    }

    .telegram-modal .btn {
        width: 100%;
    }
}

/* Если хотите, чтобы все формы профиля (email, пароль) имели одинаковый стиль,
добавьте эти классы: */
.email-modal .modal-content,
.password-modal .modal-content {
    max-width: 450px;
    background: linear-gradient(135deg, #0c074d, #1a5f7a) !important;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.email-modal .modal-header,
.password-modal .modal-header {
    background: linear-gradient(90deg, #0a41a5, #1a7fad);
    color: white;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.email-modal .modal-body,
.password-modal .modal-body {
    padding: 25px;
    background: linear-gradient(135deg, rgba(12, 7, 77, 0.95), rgba(26, 95, 122, 0.95));
}

/* Добавьте в profile.css */

/* Стили для меток форм (ярче) */
.profile-modal label,
.password-modal label,
.email-modal label,
.telegram-modal label {
    color: #e3f2fd !important; /* Более светлый голубой цвет */
    font-weight: 600 !important;
    font-size: 14px !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* Специфичные стили для меток в форме смены пароля */
.password-modal label {
    color: #bbdefb !important; /* Еще светлее для контраста */
}

/* Стили для текста внутри input-hint */
.input-hint {
    color: #90caf9 !important; /* Светло-голубой для подсказок */
    font-size: 12px;
    margin-top: 5px;
    opacity: 0.9;
}

/* Делаем иконки в метках ярче */
.profile-modal label i,
.password-modal label i,
.email-modal label i,
.telegram-modal label i {
    color: #64b5f6 !important; /* Ярко-голубой для иконок */
    opacity: 1 !important;
}

/* Для конкретных иконок можно задать свои цвета */
.password-modal label i.fa-lock {
    color: #4fc3f7 !important; /* Более светлый синий для замка */
}

.email-modal label i.fa-envelope,
.email-modal label i.fa-at {
    color: #29b6f6 !important;
}

.telegram-modal label i.fa-telegram {
    color: #0088cc !important;
}

/* Также можно осветить placeholder в полях ввода */
.form-control::placeholder {
    color: rgba(227, 242, 253, 0.7) !important; /* Светлый голубой */
    opacity: 0.8;
}

/* Улучшаем читаемость текста в полях ввода */
.form-control {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.15) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.form-control:focus {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: #64b5f6 !important;
}

/* Также можно осветить текст в кнопках для лучшего контраста */
.btn-secondary {
    color: #e3f2fd !important;
    border: 2px solid rgba(227, 242, 253, 0.3) !important;
}

.btn-primary {
    color: #ffffff !important;
}

/* Для улучшения читаемости на темном фоне, можно добавить легкую тень к тексту */
.password-modal .modal-body,
.email-modal .modal-body,
.telegram-modal .modal-body {
    color: #f5f5f5 !important;
}

/* Конкретно для метки "Текущий пароль" и других паролей */
label[for="currentPassword"],
label[for="newPassword"],
label[for="confirmPassword"] {
    color: #bbdefb !important;
    font-weight: 700 !important; /* Немного жирнее для выделения */
}


/* Стили для редактируемой секции детей */
.editable-children-section {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.editable-children-section h4 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    color: white;
    font-size: 16px;
    font-weight: 600;
}

.editable-children-section h4 .section-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.editable-children-section h4 i {
    color: #64b5f6;
}

/* Кнопка редактирования */
.edit-toggle-btn {
    background: none;
    border: none;
    color: #64b5f6;
    font-size: 12px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s;
}

.edit-toggle-btn:hover {
    background: rgba(100, 181, 246, 0.1);
}

/* Форма добавления ребенка */
.add-child-form {
    margin-bottom: 20px;
}

.add-child-input {
    position: relative;
    margin-bottom: 10px;
}

.add-child-input input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: white;
    font-size: 14px;
    transition: all 0.3s;
}

.add-child-input input:focus {
    outline: none;
    border-color: #64b5f6;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(100, 181, 246, 0.2);
}

.add-child-input i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #64b5f6;
}

.add-child-actions {
    display: flex;
    gap: 10px;
}

.add-child-actions .btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.add-child-actions .btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.add-child-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.add-child-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.add-child-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Результаты поиска */
.search-results {
    max-height: 200px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    display: none;
}

.search-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.3s;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.search-result-info {
    flex: 1;
}

.search-result-name {
    color: white;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 3px;
}

.search-result-details {
    color: #8cc0ff;
    font-size: 12px;
    display: flex;
    gap: 10px;
}

.search-result-age, .search-result-sport {
    display: flex;
    align-items: center;
    gap: 3px;
}

.add-child-btn {
    background: rgba(100, 181, 246, 0.2);
    color: #64b5f6;
    border: 1px solid rgba(100, 181, 246, 0.3);
    border-radius: 5px;
    padding: 5px 10px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.add-child-btn:hover {
    background: rgba(100, 181, 246, 0.3);
    border-color: #64b5f6;
}

/* Список детей с возможностью удаления */
.children-edit-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.child-edit-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    border-left: 3px solid #64b5f6;
    transition: all 0.3s;
}

.child-edit-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(5px);
}

.child-edit-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.child-edit-info i {
    color: #64b5f6;
    font-size: 14px;
    width: 20px;
    text-align: center;
}

.child-edit-name {
    color: white;
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.remove-child-btn {
    background: rgba(244, 67, 54, 0.2);
    color: #ff8a80;
    border: 1px solid rgba(244, 67, 54, 0.3);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 12px;
}

.remove-child-btn:hover {
    background: rgba(244, 67, 54, 0.3);
    border-color: #ff5252;
    transform: scale(1.1);
}

/* Сообщения */
.add-child-message {
    margin: 10px 0;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 14px;
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.add-child-message.success {
    background: rgba(46, 213, 115, 0.2);
    color: #2ed573;
    border: 1px solid rgba(46, 213, 115, 0.3);
}

.add-child-message.error {
    background: rgba(255, 71, 87, 0.2);
    color: #ff4757;
    border: 1px solid rgba(255, 71, 87, 0.3);
}

/* Адаптивность */
@media (max-width: 480px) {
    .editable-children-section {
        padding: 15px;
    }

    .child-edit-name {
        max-width: 150px;
    }

    .search-result-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .add-child-btn {
        align-self: flex-end;
    }
}


/* Модальное окно редактирования детей */
.children-edit-modal .modal-content {
    max-width: 450px;
    max-height: 80vh;
    background: linear-gradient(135deg, #0c074d, #1a5f7a) !important;
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.children-edit-modal .modal-header {
    background: linear-gradient(90deg, #0a41a5, #1a7fad);
    color: white;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.children-edit-modal .modal-header h3 {
    margin: 0;
    font-size: 1.2em;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.children-edit-modal .modal-header h3 i {
    color: #ffd700; /* Золотой для детей */
}

.children-edit-modal .modal-body {
    padding: 25px;
    background: linear-gradient(135deg, rgba(12, 7, 77, 0.95), rgba(26, 95, 122, 0.95));
    color: white;
}

/* Секция редактирования детей */
.editable-children-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.editable-children-section h4 {
    color: #e3f2fd !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    margin-bottom: 15px !important;
    display: flex;
    align-items: center;
    gap: 8px;
}

.editable-children-section h4 i {
    color: #64b5f6 !important;
}

/* Форма поиска */
.add-child-form {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.add-child-input {
    position: relative;
    margin-bottom: 15px;
}

.add-child-input input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(100, 181, 246, 0.3);
    border-radius: 10px;
    color: white;
    font-size: 14px;
    transition: all 0.3s;
}

.add-child-input input:focus {
    outline: none;
    border-color: #64b5f6;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(100, 181, 246, 0.2);
}

.add-child-input input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.add-child-input i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #64b5f6;
    font-size: 16px;
}

/* Кнопки формы */
.add-child-actions {
    display: flex;
    gap: 10px;
}

.add-child-actions .btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-child-actions .btn-primary {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.add-child-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.add-child-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.add-child-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Результаты поиска */
.search-results {
    max-height: 200px;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 15px;
    display: none;
}

.search-results::-webkit-scrollbar {
    width: 6px;
}

.search-results::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.search-results::-webkit-scrollbar-thumb {
    background: rgba(102, 126, 234, 0.5);
    border-radius: 3px;
}

.search-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.3s;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(5px);
}

.search-result-info {
    flex: 1;
}

.search-result-name {
    color: white;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 5px;
}

.search-result-details {
    color: #8cc0ff;
    font-size: 12px;
    display: flex;
    gap: 10px;
}

.search-result-age, .search-result-sport {
    display: flex;
    align-items: center;
    gap: 5px;
}

.search-result-age i, .search-result-sport i {
    font-size: 10px;
}

/* Кнопка добавления в результатах поиска */
.add-child-btn {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.add-child-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(76, 175, 80, 0.3);
}

.add-child-btn i {
    font-size: 10px;
}

/* Секция текущих детей */
.current-children {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Список детей с кнопками удаления */
.children-edit-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.child-edit-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    border-left: 4px solid #64b5f6;
    transition: all 0.3s;
    animation: fadeIn 0.3s ease-out;
}

.child-edit-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
    border-left-color: #2196f3;
}

.child-edit-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.child-edit-info i {
    color: #64b5f6;
    font-size: 14px;
    width: 20px;
    text-align: center;
}

.child-edit-name {
    color: white;
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 250px;
}

/* Кнопка удаления */
.remove-child-btn {
    background: rgba(244, 67, 54, 0.2);
    color: #ff8a80;
    border: 1px solid rgba(244, 67, 54, 0.3);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 12px;
    flex-shrink: 0;
}

.remove-child-btn:hover {
    background: rgba(244, 67, 54, 0.3);
    border-color: #ff5252;
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(244, 67, 54, 0.3);
}

/* Сообщения */
.add-child-message {
    margin: 10px 0;
    padding: 12px 15px;
    border-radius: 10px;
    font-size: 14px;
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.add-child-message.success {
    background: rgba(46, 213, 115, 0.2);
    color: #2ed573;
    border: 1px solid rgba(46, 213, 115, 0.3);
}

.add-child-message.error {
    background: rgba(255, 71, 87, 0.2);
    color: #ff4757;
    border: 1px solid rgba(255, 71, 87, 0.3);
}

/* Нет детей */
.no-children {
    text-align: center;
    padding: 25px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 2px dashed rgba(255, 255, 255, 0.1);
}

.no-children i {
    font-size: 48px;
    color: #64b5f6;
    opacity: 0.5;
    margin-bottom: 15px;
    display: block;
}

.no-children p {
    color: white;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 8px;
}

.no-children small {
    color: #8cc0ff;
    font-size: 13px;
    opacity: 0.7;
}

.no-children .edit-toggle-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.no-children .edit-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Кнопка редактирования в основном профиле */
.simple-children .edit-toggle-btn {
    background: rgba(100, 181, 246, 0.2);
    color: #64b5f6;
    border: 1px solid rgba(100, 181, 246, 0.3);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.simple-children .edit-toggle-btn:hover {
    background: rgba(100, 181, 246, 0.3);
    border-color: #64b5f6;
    transform: translateY(-1px);
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность */
@media (max-width: 480px) {
    .children-edit-modal .modal-content {
        width: 95%;
        max-height: 90vh;
    }

    .children-edit-modal .modal-body {
        padding: 20px;
    }

    .search-result-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .add-child-btn {
        align-self: flex-end;
    }

    .child-edit-name {
        max-width: 180px;
    }

    .add-child-actions {
        flex-direction: column;
    }

    .add-child-actions .btn {
        width: 100%;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .child-edit-name {
        max-width: 200px;
    }
}


/* ===== Стили для раздела "Номера для оплаты" ===== */
.payment-numbers-section {
    margin: 25px 0;
    padding: 20px;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.8), rgba(21, 101, 192, 0.8)) !important;
    border-radius: 15px !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.payment-numbers-section h4 {
    color: #e3f2fd !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    margin-bottom: 20px !important;
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.payment-numbers-section h4 i {
    color: #64b5f6 !important;
    font-size: 16px;
}

.numbers-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.phone-number-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px !important;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.phone-number-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: linear-gradient(to bottom, #2196F3, #21CBF3) !important;
    border-radius: 2px 0 0 2px;
}

.phone-number-item:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(100, 181, 246, 0.3) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.2);
}

.phone-number-item:active {
    transform: translateY(0);
    transition: transform 0.1s;
}

.phone-region {
    color: #bbdefb !important;
    font-weight: 600 !important;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone-region i {
    color: #64b5f6 !important;
    font-size: 14px;
}

.phone-number {
    color: white !important;
    font-weight: 700 !important;
    font-size: 16px;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone-number i {
    color: #4CAF50 !important;
    font-size: 14px;
    opacity: 0.8;
}

.copy-indicator {
    position: absolute;
    top: -30px;
    right: 10px;
    background: rgba(76, 175, 80, 0.9) !important;
    color: white !important;
    padding: 5px 10px !important;
    border-radius: 20px !important;
    font-size: 12px;
    opacity: 0;
    transition: all 0.3s;
    z-index: 10;
}

.copy-indicator.show {
    top: 10px;
    opacity: 1;
}

.no-numbers-message {
    text-align: center;
    padding: 20px;
    color: #90caf9 !important;
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 10px !important;
    border: 1px dashed rgba(255, 255, 255, 0.1) !important;
}

.no-numbers-message i {
    margin-bottom: 10px;
    color: #64b5f6 !important;
    font-size: 24px;
}

.loading-numbers {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #bbdefb !important;
}

.loading-numbers i {
    margin-bottom: 10px;
    color: #64b5f6 !important;
    font-size: 20px;
}

/* Адаптивность для номеров */
@media (max-width: 768px) {
    .phone-number-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 12px;
    }

    .phone-region, .phone-number {
        width: 100%;
        justify-content: space-between;
    }

    .phone-number {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .payment-numbers-section {
        padding: 15px;
    }

    .phone-region {
        font-size: 14px;
    }

    .phone-number {
        font-size: 14px;
    }
}