.profile-wrapper {
    max-width: 700px;
    margin: 30px auto 60px;
    padding: 0 20px;
}

.profile-container {
    background: #0f171e;
    border: 1px solid #1a2a32;
    border-radius: 28px;
    padding: 36px 40px 40px;
}

.profile-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #eef4f8;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 4px;
}
.profile-header h1 i {
    color: #70b0d0;
}
.profile-header p {
    color: #5f8095;
    font-size: 15px;
    margin: 0 0 24px;
}

.profile-avatar {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
}
.avatar-preview {
    width: 80px;
    height: 80px;
    background: #0a0f13;
    border: 2px solid #1a2a32;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: #3f6a80;
    overflow: hidden;
}
.avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.btn-avatar-upload {
    background: #0a0f13;
    border: 1px solid #1a2a32;
    border-radius: 40px;
    padding: 10px 20px;
    color: #b0ccdd;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.2s;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
}
.btn-avatar-upload:hover {
    border-color: #2a4a5a;
    background: #121c23;
}

.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
}
.profile-grid .full-width {
    grid-column: 1 / -1;
}
.profile-grid .form-group {
    margin-bottom: 0;
}
.profile-grid .form-group label {
    font-size: 13px;
    font-weight: 500;
    color: #b0ccdd;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}
.profile-grid .form-group input,
.profile-grid .form-group textarea {
    width: 100%;
    box-sizing: border-box;
    background: #0a0f13;
    border: 1px solid #1a2a32;
    border-radius: 14px;
    padding: 12px 16px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    color: #eef4f8;
    transition: 0.2s;
    outline: none;
}
.profile-grid .form-group input:focus,
.profile-grid .form-group textarea:focus {
    border-color: #3f8ab0;
    box-shadow: 0 0 0 3px rgba(60, 150, 200, 0.1);
    background: #121c23;
}
.profile-grid .form-group input:read-only {
    opacity: 0.6;
    cursor: not-allowed;
}
.profile-grid .form-group textarea {
    resize: vertical;
    min-height: 70px;
}
.profile-grid .form-group .hint {
    font-size: 12px;
    color: #4f6a7a;
    margin-top: 4px;
}

.btn-save-profile {
    width: 100%;
    background: linear-gradient(135deg, #1a3a4a, #0f2838);
    border: 1px solid #2a5a70;
    border-radius: 60px;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 700;
    color: #eef4f8;
    cursor: pointer;
    transition: 0.25s;
    font-family: 'Inter', sans-serif;
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}
.btn-save-profile:hover {
    background: linear-gradient(135deg, #224a5a, #163240);
    border-color: #4080a0;
    box-shadow: 0 8px 24px rgba(0, 80, 140, 0.2);
    transform: translateY(-1px);
}
.btn-save-profile i {
    color: #80c8f0;
}

@media (max-width: 600px) {
    .profile-container {
        padding: 24px 18px 28px;
    }
    .profile-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .profile-grid .full-width {
        grid-column: 1;
    }
    .profile-avatar {
        flex-direction: column;
        text-align: center;
    }
}