.profile-section-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0 20px;
    padding: 8px;
    background: #f3f4f6;
    border-radius: 10px;
    position: sticky;
    top: 0;
    z-index: 20;
}
.profile-section-tabs a {
    display: inline-flex;
    align-items: center;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}
.profile-section-tabs a:hover,
.profile-section-tabs a.active {
    background: #1a3ecf;
    color: #fff;
}
.profile-section {
    scroll-margin-top: 100px;
    margin-bottom: 24px;
}
.profile-section h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #111827;
}
.section-heading-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 28px 0 8px;
}
.section-heading-row h2 {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}
.section-heading-row .updated {
    font-size: 12px;
    color: #6b7280;
    white-space: nowrap;
}
.review-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}
.review-item {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px;
    background: #fff;
}
.review-item-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}
.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e8eeff;
    color: #1a3ecf;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}
.review-meta .name {
    font-weight: 600;
    font-size: 14px;
    color: #111827;
}
.review-meta .date {
    font-size: 12px;
    color: #6b7280;
}
.review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 8px;
}
.review-stars svg {
    width: 14px;
    height: 14px;
    fill: #f59e0b;
}
.review-stars svg.empty {
    fill: #d1d5db;
}
.review-comment {
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
}
.review-form {
    border: 1px solid #dbeafe;
    border-radius: 12px;
    padding: 20px;
    background: #f8fbff;
}
.review-form h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}
.review-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}
.review-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #374151;
}
.review-form input,
.review-form textarea,
.review-form select {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 14px;
    font-family: inherit;
}
.review-form textarea {
    min-height: 100px;
    resize: vertical;
}
.review-form .star-picker {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
}
.review-form .star-picker label {
    cursor: pointer;
    margin: 0;
}
.review-form .star-picker input {
    display: none;
}
.review-form .star-picker span {
    font-size: 24px;
    color: #d1d5db;
}
.review-form .star-picker input:checked ~ span,
.review-form .star-picker label:hover span {
    color: #f59e0b;
}
.btn-review-submit {
    background: #1a3ecf;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 11px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}
.btn-review-submit:hover {
    background: #2d55e8;
}
.attorney-list-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid #e5e7eb;
}
.attorney-list-item:last-child {
    border-bottom: none;
}
.attorney-list-item .attorney-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}
.attorney-list-item .attorney-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.attorney-list-info {
    flex: 1;
    min-width: 0;
}
.attorney-list-info .name {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}
.attorney-list-info .role {
    font-size: 13px;
    color: #6b7280;
    margin-top: 2px;
}
.attorney-list-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.attorney-list-actions a {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #d1d5db;
    color: #374151;
    background: #fff;
}
.attorney-list-actions a.primary {
    background: #1a3ecf;
    border-color: #1a3ecf;
    color: #fff;
}
.contact-cta-box {
    border: 1px solid #dbeafe;
    border-radius: 12px;
    padding: 24px;
    background: #f8fbff;
    text-align: center;
}
.contact-cta-box p {
    margin-bottom: 16px;
    color: #374151;
}
.contact-cta-box .btn-contact-page {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f97316;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
}
.contact-cta-box .btn-contact-page:hover {
    background: #ea580c;
}
.alert-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}
@media (max-width: 768px) {
    .review-form .form-row {
        grid-template-columns: 1fr;
    }
    .attorney-list-item {
        flex-wrap: wrap;
    }
    .profile-section-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
    }
}
