.profile-page,
.profile-edit-page {
    width: 100%;

    display: flex;
    justify-content: center;

    padding: 30px 0;
}

.profile-card,
.profile-edit-card {
    width: 100%;
    max-width: 600px;

    padding: 32px;

    border: 1px solid var(--border-color);
    border-radius: 12px;

    background: var(--bg-secondary);
}

.profile-card {
    text-align: center;
}

.profile-avatar {
    width: 96px;
    height: 96px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border-radius: 50%;

    background: var(--bg-tertiary);

    color: var(--text-primary);

    font-size: 36px;
    font-weight: 700;
}

.profile-avatar img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.profile-card h1 {
    margin: 0;

    font-size: 26px;
}

.profile-username {
    margin: 6px 0;

    color: var(--text-secondary);
}

.profile-bio {
    margin: 20px 0;

    color: var(--text-primary);

    line-height: 1.6;
}

.profile-website {
    margin-bottom: 24px;
}

.profile-website a {
    color: var(--text-primary);
}

.profile-edit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;

    padding: 0 20px;

    border-radius: 6px;

    background: var(--accent-color);

    color: #ffffff;

    text-decoration: none;

    font-weight: 600;
}

.profile-edit-card h1 {
    margin: 0 0 28px;
}

.profile-edit-card textarea {
    width: 100%;

    padding: 12px;

    resize: vertical;

    border: 1px solid var(--border-color);
    border-radius: 6px;

    outline: none;

    background: var(--bg-primary);
    color: var(--text-primary);

    font: inherit;
}

.profile-edit-card textarea:focus {
    border-color: var(--accent-color);
}

.form-group small {
    color: var(--text-secondary);

    font-size: 12px;
}


/* Mobile */

@media (max-width: 600px) {

    .profile-card,
    .profile-edit-card {
        padding: 22px 18px;
    }

}

.channel-create-info {
    margin: -14px 0 24px;

    color: var(--text-secondary);

    line-height: 1.5;
}

.channel-create-info strong {
    color: var(--text-primary);
}