body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Montserrat', Arial, sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #333;
}
.profile-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    min-height: 100vh;
    background-color: #fff;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
}

/* Стили для режима просмотра */
.profile-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.info-item {
    margin-bottom: 20px;
}

.info-item.full-width {
    grid-column: span 2;
}

.info-label {
    font-weight: 600;
    color: #777;
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.info-value {
    font-size: 1.1rem;
    color: #333;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    display: block;
}

.bio {
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 8px;
    background: #f9f9f9;
    line-height: 1.6;
}

/* Кнопка редактирования */
.btn-edit-profile {
    background: white;
    border: none;
    border-radius: 50px;
    padding: 12px 25px;
    color: #000000;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-edit-profile:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Кнопки в режиме редактирования */
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
}

.btn-save {
    background: #4ECDC4;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-cancel {
    background: #f8f9fa;
    color: #555;
    border: 1px solid #ddd;
    padding: 12px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-save:hover, .btn-cancel:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Адаптивность */
@media (max-width: 992px) {
    .profile-container {
        grid-template-columns: 1fr;
    }

    .profile-info-grid {
        grid-template-columns: 1fr;
    }

    .info-item.full-width {
        grid-column: span 1;
    }
}
.global-notifications {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
    max-width: 350px;
    width: 100%;
}

.notification {
    position: relative;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateX(120%);
    animation: slideIn 0.5s forwards;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-content {
    flex-grow: 1;
    padding-right: 15px;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
    line-height: 1;
}

.notification-close:hover {
    opacity: 1;
}

.alert-success {
    background: #4ECDC4;
    border-left: 5px solid #3DBEB5;
}

.alert-error {
    background: #FF6B6B;
    border-left: 5px solid #FF5252;
}

.alert-info {
    background: #54A0FF;
    border-left: 5px solid #2E86DE;
}

@keyframes slideIn {
    to { transform: translateX(0); }
}

.notification.hide {
    animation: slideOut 0.5s forwards;
}

@keyframes slideOut {
    from { transform: translateX(0); }
    to { transform: translateX(120%); }
}
.profile-avatar-container {
    position: relative;
    margin-bottom: 20px;
    text-align: center;
}

.profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.avatar-upload-label {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #4ECDC4;
    color: white;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
}

.avatar-upload-label:hover {
    background: #3DBEB5;
    transform: scale(1.1);
}

.avatar-upload-input {
    display: none;
}
/* Контейнер профиля */
.traveler-profile-form {
    display: grid;
    grid-template-columns: 300px 1fr;
    min-height: 100vh;
    background-color: #fff;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
}

/* Боковая панель */
.profile-sidebar {
    background: linear-gradient(to bottom, #4ECDC4, #FF6B6B);
    padding: 40px 30px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.profile-sidebar::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.profile-sidebar::after {
    content: "";
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

/* Аватар */
.profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background-color: white;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: #4ECDC4;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* Основное содержимое */
.profile-content {
    padding: 60px;
    overflow-y: auto;
}

/* Заголовок */
.profile-title {
    color: #FF6B6B;
    margin-bottom: 40px;
    font-weight: 700;
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
}

.profile-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: #4ECDC4;
    border-radius: 2px;
}

/* Форма */
.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-control {
    border: none;
    border-bottom: 2px solid #ddd;
    padding: 12px 0;
    font-size: 1rem;
    transition: all 0.3s;
    width: 100%;
    background: transparent;
}

.form-control:focus {
    border-bottom-color: #4ECDC4;
    outline: none;
}

textarea.form-control {
    min-height: 100px;
    resize: vertical;
    border: 2px solid #eee;
    padding: 15px;
    border-radius: 10px;
}

/* Лейблы */
.control-label {
    font-weight: 600;
    color: #555;
    margin-bottom: 8px;
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Выпадающие списки */
select.form-control {
    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='currentColor' 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 5px center;
    background-size: 15px;
    padding-right: 25px;
}

/* Кнопка */
.btn-success {
    background: linear-gradient(to right, #4ECDC4, #FF6B6B);
    border: none;
    border-radius: 50px;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    margin-top: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    display: block;
    width: auto;
    margin-left: auto;
}

.btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    background: linear-gradient(to right, #3DBEB5, #FF5A5A);
}

/* Адаптивность */
@media (max-width: 992px) {
    .traveler-profile-form {
        grid-template-columns: 1fr;
    }

    .profile-sidebar {
        padding: 30px 20px;
    }

    .profile-content {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .form-group.full-width {
        grid-column: span 1;
    }

    .profile-content {
        padding: 30px 20px;
    }
}