/* MemberPress Personal Content - My Content tab */

.mpc-personal-content {
    max-width: 640px;
}

.mpc-personal-content .mepr_page_header {
    margin-bottom: 1.25rem;
}

.mpc-section {
    margin-bottom: 2rem;
}

.mpc-section__title {
    font-size: 1.125rem;
    margin: 0 0 0.25rem;
}

.mpc-section__desc {
    color: #666;
    font-size: 0.9375rem;
    margin: 0 0 0.75rem;
}

.mpc-list {
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 0.75rem;
    min-height: 2.5rem;
}

.mpc-list__row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid #eee;
}

.mpc-list__row:last-child {
    border-bottom: none;
}

.mpc-list__link {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mpc-list__remove {
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 1.25rem;
    line-height: 1;
    padding: 0 0.25rem;
}

.mpc-list__remove:hover {
    color: #c00;
}

.mpc-add-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.mpc-input {
    flex: 1;
    min-width: 200px;
    padding: 0.5rem 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.mpc-notes__textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
}

.mpc-notes__textarea:focus {
    border-color: #2271b1;
    outline: none;
    box-shadow: 0 0 0 1px #2271b1;
}

.mpc-btn {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9375rem;
    border: 1px solid #ccc;
    background: #f6f7f7;
}

.mpc-btn:hover {
    background: #eee;
}

.mpc-btn-primary {
    background: #2271b1;
    border-color: #2271b1;
    color: #fff;
}

.mpc-btn-primary:hover {
    background: #135e96;
    border-color: #135e96;
    color: #fff;
}

.mpc-btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.mpc-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.mpc-status {
    font-size: 0.875rem;
}

.mpc-status--ok {
    color: #00a32a;
}

.mpc-status--error {
    color: #d63638;
}
