body {
    padding-top: 80px;
}

.profile-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.06);
    padding: 20px;
}

.profile-top {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.profile-actions {
    margin-left: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: flex-end;
}

@media (max-width: 700px) {
    .profile-top {
        align-items: flex-start;
    }

    .profile-actions {
        width: 100%;
        margin-left: 0;
        justify-content: flex-start;
    }

    .profile-btn {
        padding: 10px 10px;
    }
}

.profile-btn {
    border: 1px solid var(--border-color);
    background: var(--white);
    color: var(--text-color);
    border-radius: 12px;
    padding: 10px 12px;
    font-weight: 800;
    cursor: pointer;
}

.profile-btn.primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.profile-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.profile-input,
.profile-textarea {
    width: 100%;
    border: 1px solid var(--border-color);
    background: var(--white);
    border-radius: 12px;
    padding: 10px 12px;
    margin-top: 10px;
    font-weight: 700;
    color: var(--text-color);
    outline: none;
}

.profile-textarea {
    resize: vertical;
    min-height: 90px;
}

.profile-avatar {
    width: 84px;
    height: 84px;
    border-radius: 999px;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex: 0 0 auto;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-avatar i {
    font-size: 28px;
    color: var(--text-light);
}

.profile-main h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 900;
    color: var(--text-color);
}

.profile-sub {
    color: var(--text-light);
    margin-top: 4px;
    font-size: 14px;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding-top: 16px;
}

@media (max-width: 700px) {
    .profile-grid {
        grid-template-columns: 1fr;
    }
}

.profile-field {
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 14px;
}

.profile-label {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--text-light);
}

.profile-value {
    margin-top: 6px;
    color: var(--text-color);
    font-weight: 700;
    line-height: 1.4;
    white-space: pre-wrap;
}
