/* Single Attorney Page Styles */

.aah-single-attorney {
    max-width: 1280px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Header Section */
.aah-attorney-header-top {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: grid;
    grid-template-columns: 280px 1fr auto;
    gap: 30px;
    align-items: start;
    margin-top: 100px;
}

.aah-attorney-photo {
    width: 100%;
    aspect-ratio: 3/4;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.aah-attorney-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Claim Status Badge - Bottom Style */
.aah-claim-badge {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 15px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.aah-badge-claimed {
    background: rgba(0, 168, 107, 0.95);
}

.aah-badge-pending {
    background: rgba(255, 149, 0, 0.95);
}

.aah-badge-unclaimed {
    background: rgba(230, 57, 70, 0.95);
}

.aah-attorney-main-info h1 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 8px;
    color: #1a1a1a;
}

.aah-attorney-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 12px;
}

.aah-rating-display {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    
}

.aah-rating-number {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
}

.aah-stars {
    display: flex;
    gap: 2px;
}

.aah-star {
    width: 18px;
    height: 18px;
}

.aah-star.filled {
    fill: #ff9500;
}

.aah-star.empty {
    fill: #ddd;
}

.aah-review-count {
    color: #666;
    font-size: 14px;
    display: none;
}

.aah-free-consultation {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #e7f7ef;
    color: #00a86b;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
}

.aah-free-consultation svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Claim Profile Button */
.aah-claim-profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #C6902E;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s ease;
}

.aah-claim-profile-btn:hover {
    background: #9d6d16;
    color: #fff;
}

.aah-claim-profile-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.aah-claim-profile-btn i {
    font-size: 16px;
}

.aah-buy-membership-btn {
    background: #ffc107;
    color: #333;
    border-color: #ffc107;
}

.aah-buy-membership-btn:hover {
    background: #ffb300;
    color: #333;
    border-color: #ffb300;
}

.aah-buy-membership-btn i {
    color: #f57c00;
}

/* When membership button is in action buttons */
.aah-action-btn.aah-buy-membership-btn {
    background: #ffc107;
    color: #333;
    border-color: #ffc107;
}

.aah-action-btn.aah-buy-membership-btn:hover {
    background: #ffb300;
    color: #333;
    border-color: #ffb300;
}

.aah-claim-pending-notice {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff3cd;
    color: #856404;
    padding: 10px 16px;
    border-radius: 6px;
    border-left: 3px solid #ffc107;
    font-size: 14px;
    font-weight: 500;
}

.aah-claim-pending-notice i {
    font-size: 16px;
}

/* Share Section */
.aah-share-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.aah-share-title {
    font-size: 18px !important;
    font-weight: 600;
    color: #666;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.aah-share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.aah-share-btn {
    width: 24px !important;
    height: 24px;
    border: none;
    background: transparent !important;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0 !important;
}

.aah-share-btn i {
    font-size: 20px !important;
}

.aah-share-facebook i {
    color: #1877f2;
}

.aah-share-twitter i {
    color: #1da1f2;
}

.aah-share-linkedin i {
    color: #0077b5;
}

.aah-share-whatsapp i {
    color: #25d366;
}

.aah-share-copy i {
    color: #666;
}

.aah-action-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 160px;
}

.aah-action-btn {
    padding: 12px 20px;
    border: 1px solid #e0e0e0;
    background: #f7f7f7;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #C6902E;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.aah-action-btn:hover {
    background: #fff;
    border-color: #C6902E;
    color: #C6902E;
}

.aah-action-btn.aah-btn-complaint {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: #fff;
    border-color: #dc3545;
}

.aah-action-btn.aah-btn-complaint:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    color: #fff;
    border-color: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.aah-action-btn svg {
    width: 16px;
    height: 16px;
}

.aah-action-btn i {
    font-size: 16px;
    margin-right: 8px;
}

/* Claim Button in Action Buttons */
.aah-btn-claim {
    display: flex;
    align-items: center;
    justify-content: center;
}

.aah-action-notice {
    padding: 12px 20px;
    border: 1px solid #ffc107;
    background: #fff3cd;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #856404;
}

.aah-action-notice i {
    font-size: 16px;
}

/* Content Layout */
.aah-content-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
}

.aah-main-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.aah-content-section {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.aah-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 26px !important;
    font-weight: 600;
    margin: 0 0 20px;
    color: #1a1a1a;
}

.aah-section-icon {
    width: 40px;
    height: 40px;
    background: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.aah-section-icon svg {
    width: 20px;
    height: 20px;
    fill: #666;
}

.aah-content-section p {
    line-height: 1.8;
    color: #666;
    margin-bottom: 15px;
}

.aah-field-label {
    display: flex;
    align-items: center;
    gap: 4px;
}

.aah-field-label svg {
    flex-shrink: 0;
}

/* Uploaded Documents Section */
.aah-documents-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.aah-document-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.aah-document-item:hover {
    background: #fff;
    border-color: #C6902E;
    box-shadow: 0 2px 8px rgba(233, 30, 99, 0.1);
}

.aah-document-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.aah-document-icon svg {
    fill: #666;
}

.aah-file-ext {
    font-size: 10px;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    line-height:18px;
}

.aah-document-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.aah-document-name {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    word-break: break-word;
}

.aah-document-name:hover {
    color: #C6902E;
}

.aah-document-size {
    font-size: 13px;
    color: #999;
}

.aah-download-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #C6902E;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.aah-download-btn:hover {
    background: #9d6d16;
    color: #fff;
}

.aah-download-btn svg {
    fill: currentColor;
}

@media (max-width: 768px) {
    .aah-document-item {
        flex-wrap: wrap;
    }
    
    .aah-download-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Practice Areas Grid */
.aah-practice-areas-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.aah-practice-area-item {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.aah-practice-area-item:hover {
    color: #C6902E;
}

.aah-practice-area-item:hover .aah-practice-icon {
    background: #C6902E;
    border-color: #C6902E;
}

.aah-practice-area-item:hover .aah-practice-icon svg {
    fill: #fff;
}

.aah-practice-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.aah-practice-icon svg {
    width: 24px;
    height: 24px;
    fill: #333;
    transition: all 0.3s ease;
}

.aah-practice-name {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
}

/* States List */
.aah-states-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
}

.aah-state-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.aah-check-icon {
    fill: #00a86b;
    flex-shrink: 0;
}

.aah-state-link {
    text-decoration: none;
    color: #333;
    font-size: 15px;
    transition: color 0.3s ease;
}

.aah-state-link:hover {
    color: #C6902E;
    text-decoration: underline;
}

@media (max-width: 992px) {
    .aah-practice-areas-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .aah-practice-areas-grid {
        grid-template-columns: 1fr;
    }
}

/* Sidebar */
.aah-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.aah-sidebar-widget {
    background: #fff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.aah-sidebar-widget h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px;
    color: #1a1a1a;
}

.aah-contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.aah-contact-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.aah-contact-label {
    font-size: 12px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.aah-contact-value {
    font-size: 14px;
    color: #333;
}

.aah-contact-value a {
    color: #C6902E;
    text-decoration: none;
}

.aah-contact-value a:hover {
    text-decoration: underline;
}

/* Reviews Section */
.aah-reviews-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

/* .aah-reviews-container {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
} */

.aah-reviews-list {
    margin: 30px 0;
}

.aah-review-item {
    padding: 25px;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 20px;
    background: #fafafa;
}

.aah-review-header {
    margin-bottom: 15px;
}

.aah-reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.aah-reviewer-avatar {
    flex-shrink: 0;
}

.aah-reviewer-avatar img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.aah-reviewer-details {
    flex-grow: 1;
}

.aah-reviewer-name {
    margin: 0 0 5px 0;
    font-size: 19px !important;
    font-weight: 700 !important;
    color: #333;
}

.aah-review-meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.aah-review-stars {
    display: flex;
    gap: 2px;
}

.aah-review-stars .aah-star {
    width: 16px;
    height: 16px;
}

.aah-review-date {
    color: #999;
    font-size: 14px;
}

.aah-review-content p {
    margin: 0;
    line-height: 1.6;
    color: #555;
}

.aah-no-reviews {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-style: italic;
}

/* Review Form */
.aah-review-form-wrapper {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid #eee;
}

.aah-form-title {
    margin: 0 0 25px 0;
    font-size: 26px !important;
    font-weight: 600;
    color: #333;
}

.aah-review-form {
    max-width: 700px;
}

.aah-form-group {
    margin-bottom: 25px;
}

.aah-form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
}

.aah-star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
}

.aah-star-input {
    display: none;
}

.aah-star-label {
    cursor: pointer;
    transition: all 0.2s;
}

.aah-star-label svg {
    width: 32px;
    height: 32px;
    fill: #ddd;
    transition: fill 0.2s;
}

.aah-star-label:hover svg,
.aah-star-label.hover svg,
.aah-star-input:checked ~ .aah-star-label svg,
.aah-star-label.selected svg {
    fill: #ffc107;
}

.aah-form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    resize: vertical;
    transition: border-color 0.3s;
}

.aah-form-group textarea:focus {
    outline: none;
    border-color: #C6902E;
}

.aah-submit-review-btn {
    background: #C6902E;
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.aah-submit-review-btn:hover {
    background: #9d6d16;
}

.aah-submit-review-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.aah-already-reviewed,
.aah-no-permission,
.aah-login-required {
    padding: 20px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    color: #856404;
}

.aah-login-required a {
    color: #C6902E;
    font-weight: 600;
}

/* Action Button Active State */
.aah-action-save.active {
    background: #C6902E;
    color: #fff;
}

.aah-action-save.active svg {
    fill: #fff;
}

/* Notification System */
.aah-notice-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 400px;
}

.aah-notice {
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    color: #fff;
    font-weight: 500;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
}

.aah-notice.show {
    opacity: 1;
    transform: translateX(0);
}

.aah-notice-success {
    background: #00a86b;
}

.aah-notice-error {
    background: #C6902E;
}

.aah-notice-warning {
    background: #ffc107;
    color: #333;
}

/* Responsive */
@media (max-width: 992px) {
    .aah-attorney-header-top {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .aah-attorney-photo {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .aah-attorney-main-info {
        text-align: center;
    }
    
    .aah-action-buttons {
        margin: 0 auto;
    }
    
    .aah-content-layout {
        grid-template-columns: 1fr;
    }
    
    .aah-share-section {
        text-align: center;
    }
    
    .aah-share-buttons {
        justify-content: center;
    }
}

/* Reviews Section */
.aah-reviews-section {
    background: #fff;
    margin: 30px 0;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.aah-reviews-container {
    max-width: 1200px;
    margin: 0 auto;
}

.aah-reviews-list {
    margin: 30px 0;
}

.aah-review-item {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
}

.aah-review-header {
    margin-bottom: 15px;
}

.aah-reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.aah-reviewer-avatar {
    flex-shrink: 0;
}

.aah-reviewer-avatar img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.aah-reviewer-details {
    flex-grow: 1;
}



.aah-review-meta {
    display: flex;
    align-items: center;
    gap: 15px;
}

.aah-review-stars {
    display: flex;
    gap: 2px;
}

.aah-review-stars .aah-star {
    width: 16px;
    height: 16px;
}

.aah-review-stars .aah-star.filled {
    fill: #ffc107;
}

.aah-review-stars .aah-star.empty {
    fill: #e0e0e0;
}

.aah-review-date {
    color: #999;
    font-size: 14px;
}

.aah-review-content p {
    margin: 0;
    line-height: 1.6;
    color: #555;
}

.aah-no-reviews {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 16px;
}

/* Review Form */
.aah-review-form-wrapper {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 30px;
    margin-top: 30px;
}

.aah-form-title {
    margin: 0 0 20px 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.aah-review-form .aah-form-group {
    margin-bottom: 20px;
}

.aah-review-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.aah-star-rating {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 5px;
}

.aah-star-input {
    display: none;
}

.aah-star-label {
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
}

.aah-star-label svg {
    width: 32px;
    height: 32px;
    fill: #e0e0e0;
    transition: all 0.2s ease;
    display: block;
}

.aah-star-label:hover,
.aah-star-label.hover {
    transform: scale(1.1);
}

.aah-star-label:hover svg,
.aah-star-label.hover svg {
    fill: #ffc107;
}

.aah-star-label.selected svg {
    fill: #ffc107;
}

.aah-star-label:active {
    transform: scale(0.95);
}

.aah-review-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 15px;
    resize: vertical;
    transition: border-color 0.3s;
}

.aah-review-form textarea:focus {
    outline: none;
    border-color: #C6902E;
}

.aah-submit-review-btn {
    background: #C6902E;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.aah-submit-review-btn:hover {
    background: #9d6d16;
}

.aah-submit-review-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.aah-already-reviewed,
.aah-no-permission,
.aah-login-required {
    padding: 20px;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    color: #856404;
}

.aah-login-required a {
    color: #C6902E;
    font-weight: 600;
    text-decoration: none;
}

.aah-login-required a:hover {
    text-decoration: underline;
}

/* Action Buttons - Active State */
.aah-action-save.active {
    background: #C6902E;
    color: #fff;
}

.aah-action-save.active svg {
    fill: #fff;
}

/* Popup Modal */
.aah-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.aah-popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.aah-popup-content {
    background: #fff;
    border-radius: 12px;
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.aah-popup-overlay.show .aah-popup-content {
    transform: scale(1);
}

.aah-popup-header {
    padding: 20px 24px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.aah-popup-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.aah-popup-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: color 0.3s ease;
}

.aah-popup-close:hover {
    color: #333;
}

.aah-popup-body {
    padding: 24px;
}

.aah-popup-body p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #666;
}

.aah-popup-footer {
    padding: 16px 24px;
    border-top: 1px solid #eee;
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.aah-popup-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.aah-popup-cancel {
    background: #f5f5f5;
    color: #666;
}

.aah-popup-cancel:hover {
    background: #e0e0e0;
    color: #333;
}

.aah-popup-confirm {
    background: #C6902E;
    color: #fff;
}

.aah-popup-confirm:hover {
    background: #a57825;
}

/* Notification System */
.aah-notice-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 99999;
    max-width: 400px;
}

.aah-notice {
    background: #fff;
    color: #333;
    border-left: 4px solid #4caf50;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
}

.aah-notice.show {
    opacity: 1;
    transform: translateX(0);
}

.aah-notice-success {
    border-left-color: #4caf50;
}

.aah-notice-error {
    border-left-color: #f44336;
}

.aah-notice-warning {
    border-left-color: #ff9800;
}

@media (max-width: 768px) {
    .aah-attorney-header-top {
        padding: 20px;
    }
    
    .aah-content-section,
    .aah-sidebar-widget {
        padding: 20px;
    }
    
    .aah-reviews-section {
        padding: 20px;
    }
    
    .aah-review-item {
        padding: 15px;
    }
    
    .aah-review-form-wrapper {
        padding: 20px;
    }
    
    .aah-notice-container {
        left: 20px;
        right: 20px;
        max-width: none;
    }
    
    .aah-reviewer-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .aah-action-buttons {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .aah-action-btn {
        flex: 1 1 calc(50% - 5px);
        min-width: 140px;
    }
    
    .aah-claim-profile-btn {
        font-size: 14px;
        padding: 10px 20px;
    }
    
    .aah-share-section {
        margin-top: 15px;
        padding-top: 15px;
    }
    
    .aah-share-title {
        font-size: 14px !important;
    }
    
    .aah-share-buttons {
        gap: 8px;
    }
    
    .aah-share-btn {
        width: 20px !important;
        height: 20px !important;
    }
    
    .aah-share-btn i {
        font-size: 18px !important;
    }
    .aah-rating-display {
  
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .aah-attorney-header-top {
        grid-template-columns: 1fr;
        padding: 15px;
    }
    
    .aah-attorney-photo {
        max-width: 200px;
        margin: 0 auto;
    }
    
    .aah-attorney-main-info {
        text-align: center;
    }
    
    .aah-action-buttons {
        width: 100%;
    }
    
    .aah-claim-profile-btn {
        width: 100%;
        justify-content: center;
        font-size: 13px;
        padding: 10px 16px;
    }
    
    .aah-claim-pending-notice {
        font-size: 12px;
        padding: 8px 12px;
    }
    
    .aah-share-title {
        font-size: 13px !important;
    }
    
    .aah-share-buttons {
        gap: 6px;
        justify-content: center;
    }
    
    .aah-share-btn {
        width: 18px !important;
        height: 18px !important;
    }
    
    .aah-share-btn i {
        font-size: 16px !important;
    }
    
    .aah-rating-display {
        justify-content: center;
    }
    
    .aah-popup-content {
        width: 95%;
        max-width: none;
        margin: 20px;
    }
    
    .aah-popup-header {
        padding: 16px 20px;
    }
    
    .aah-popup-header h3 {
        font-size: 18px;
    }
    
    .aah-popup-body {
        padding: 20px;
    }
    
    .aah-popup-footer {
        padding: 12px 20px;
        flex-direction: column;
    }
    
    .aah-popup-btn {
        width: 100%;
    }
}

/* Complaints Section */
.aah-complaints-section {
    background: #fff;
    padding: 40px;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.aah-complaint-form {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.aah-complaint-form .aah-form-group {
    margin-bottom: 20px;
}

.aah-complaint-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1d2327;
}

.aah-complaint-form input[type="text"],
.aah-complaint-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.aah-complaint-form input[type="text"]:focus,
.aah-complaint-form textarea:focus {
    outline: none;
    border-color: #C6902E;
    box-shadow: 0 0 0 3px rgba(198, 144, 46, 0.1);
}

.aah-complaint-form input[type="file"] {
    display: block;
    margin-top: 8px;
    padding: 8px;
    border: 1px dashed #ddd;
    border-radius: 6px;
    width: 100%;
}

.aah-complaint-form small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 13px;
}

.aah-submit-complaint-btn {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.aah-submit-complaint-btn:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.aah-submit-complaint-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.aah-existing-complaints {
    margin-top: 40px;
}

.aah-existing-complaints h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #1d2327;
}

.aah-complaints-list {
    display: grid;
    gap: 20px;
}

.aah-complaint-item {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #dc3545;
}

.aah-complaint-item h4 {
    margin: 0 0 10px 0;
    font-size: 18px;
    color: #1d2327;
}

.aah-complaint-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
}

.aah-complaint-status {
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.aah-status-pending {
    background: #fff3cd;
    color: #856404;
}

.aah-status-under_review {
    background: #cce5ff;
    color: #004085;
}

.aah-status-resolved {
    background: #d4edda;
    color: #155724;
}

.aah-status-dismissed {
    background: #f8d7da;
    color: #721c24;
}

.aah-complaint-excerpt {
    color: #50575e;
    line-height: 1.6;
}

/* Complaint Modal */
.aah-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
}

.aah-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.aah-modal-content {
    position: relative;
    background: #fff;
    max-width: 600px;
    margin: 50px auto;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.aah-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 32px;
    color: #999;
    cursor: pointer;
    width: 40px !important ; 
    height: 40px !important ;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
    padding: 0 !important ;
}

.aah-modal-close:hover {
    background: #f0f0f0;
    color: #333;
}

.aah-modal-title {
    font-size: 26px;
    margin: 0 0 10px 0;
    color: #1d2327;
    display: flex;
    align-items: center;
}

.aah-modal-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.aah-modal-cancel {
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.aah-modal-cancel:hover {
    background: #e0e0e0;
}

@media (max-width: 768px) {
    .aah-complaints-section {
        padding: 20px;
    }
    
    .aah-complaint-form {
        padding: 20px;
    }
    
    .aah-complaint-meta {
        flex-direction: column;
        gap: 5px;
    }
    
    .aah-modal-content {
        margin: 20px;
        padding: 25px;
        max-height: calc(100vh - 40px);
    }
    
    .aah-modal-title {
        font-size: 22px;
    }
    
    .aah-modal-buttons {
        flex-direction: column;
    }
    
    .aah-modal-buttons button {
        width: 100%;
    }
}


.aah-dashboard-content h2 {
    font-size: 39px;
}