/* Custom styles for the unverified badge */
.business-card.unregistered .quality-mark {
    background-color: #ff0000 !important;
    color: white !important;
    border-color: #ff0000 !important;
}

.business-card.unregistered .quality-mark svg {
    stroke: white !important;
}

/* Enhanced Business Profile Styling - Clean Modern Style */
.business-profile.trustpilot-style {
    max-width: 1200px;
    margin: 30px auto;
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    border: none;
    box-shadow: none;
    padding: 0 20px;
}

/* Business Profile Container */
.business-profile-container {
    background: #f9fafb;
    padding: 40px 0;
}

/* Clean Header Section with Enhanced Design */
.profile-header-section {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 40px;
    border-radius: 16px;
    gap: 40px;
    background: #ffffff;
    overflow: visible;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

/* Logo Styling with Enhanced Design */
.business-logo {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 4px solid #ffffff;
    position: relative;
    z-index: 2;
}

.business-logo img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.business-logo img:hover {
    transform: scale(1.05);
}

.business-logo .default-logo {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    font-weight: bold;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Business Info */
.business-info {
    flex: 1;
    padding-top: 0;
}

/* Verification Badge */
.verification-status {
    margin-bottom: 10px;
    text-align: right;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
    font-size: 14px;
    font-weight: 600;
    border-radius: 30px;
    box-shadow: 0 2px 5px rgba(16, 185, 129, 0.1);
    transition: all 0.2s ease;
}

.verified-badge i {
    color: #10b981;
}

.verified-badge:hover {
    background-color: rgba(16, 185, 129, 0.15);
    transform: translateY(-1px);
}

.unverified-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    font-size: 14px;
    font-weight: 600;
    border-radius: 30px;
    box-shadow: 0 2px 5px rgba(239, 68, 68, 0.1);
    transition: all 0.2s ease;
}

.unverified-badge i {
    color: #ef4444;
}

.unverified-badge:hover {
    background-color: rgba(239, 68, 68, 0.15);
    transform: translateY(-1px);
}

/* Business Name */
.business-name {
    font-size: 42px;
    font-weight: 800;
    margin: 0 0 15px 0;
    color: #111827;
    line-height: 1.2;
    letter-spacing: -0.5px;
    text-align: left;
}

/* Reviews Section */
.business-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 25px;
    background: transparent;
    padding: 0;
    backdrop-filter: none;
}

.reviews-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #4b5563;
    font-weight: 500;
}

.reviews-count {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    background: #f3f4f6;
    padding: 2px 8px;
    border-radius: 20px;
}

.bullet-separator {
    color: #9ca3af;
    margin: 0 3px;
}

/* Stars */
.trustpilot-stars {
    display: flex;
    gap: 2px;
}

.trustpilot-stars .star.filled {
    color: #fbbf24;
    font-size: 22px;
    filter: drop-shadow(0 1px 2px rgba(251, 191, 36, 0.3));
}

.trustpilot-stars .star.empty {
    color: #e5e7eb;
    font-size: 22px;
}

.rating-score {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
    padding-left: 5px;
}

/* Business Category */
.business-category {
    color: #4b5563;
    font-size: 16px;
    font-weight: 500;
    background: #f3f4f6;
    padding: 5px 12px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 5px;
}

.category-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #f3f4f6;
    border-radius: 20px;
    color: #4b5563;
    font-weight: 500;
    font-size: 14px;
}

.category-text:before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #6366f1;
    border-radius: 50%;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.write-review-btn {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

.write-review-btn:hover {
    background: linear-gradient(135deg, #4338ca, #6d28d9);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.25);
}

.visit-website-btn {
    background: white;
    color: #4f46e5;
    border: 2px solid #4f46e5;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.visit-website-btn:hover {
    background: #f5f3ff;
    color: #4338ca;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

/* Hide Rating Overview in Header */
.profile-right {
    display: none;
}

/* Hide Trust Notice */
.trust-notice {
    display: none;
}

/* Reviews Section */
.reviews-section {
    padding: 40px;
    border-radius: 16px;
    background: #ffffff;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reviews-section.section-visible {
    opacity: 1;
    transform: translateY(0);
}

.reviews-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 30px 0;
    position: relative;
    padding-bottom: 15px;
}

.reviews-section h2:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    border-radius: 2px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.review-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #f3f4f6;
    display: flex;
    flex-direction: column;
    height: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out, box-shadow 0.3s ease, border-color 0.3s ease;
}

.review-card.card-visible {
    opacity: 1;
    transform: translateY(0);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
    border-color: #e5e7eb;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(124, 58, 237, 0.2);
}

.review-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.reviewer-name {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 5px;
}

.review-date {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 12px;
}

.review-stars .star.filled {
    color: #fbbf24;
    font-size: 18px;
}

.review-stars .star.empty {
    color: #e5e7eb;
    font-size: 18px;
}

.review-text {
    font-size: 15px;
    line-height: 1.6;
    color: #4b5563;
    flex: 1;
}

.read-more {
    color: #4f46e5;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease;
}

.read-more:hover {
    color: #4338ca;
    text-decoration: underline;
}

.no-reviews-message {
    text-align: center;
    padding: 40px 20px;
    background: #f9fafb;
    border-radius: 12px;
    color: #6b7280;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.no-reviews-message i {
    font-size: 48px;
    color: #9ca3af;
}

.see-all-reviews {
    text-align: center;
    margin-top: 20px;
}

.see-all-btn {
    background: #f9fafb;
    color: #4b5563;
    border: 2px solid #e5e7eb;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.see-all-btn:hover {
    background: #f3f4f6;
    color: #374151;
    border-color: #d1d5db;
}

.company-details-section {
    padding: 40px;
    border-radius: 16px;
    background: #ffffff;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.company-details-section.section-visible {
    opacity: 1;
    transform: translateY(0);
}

.company-details-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 30px 0;
    position: relative;
    padding-bottom: 15px;
}

.company-details-section h2:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    border-radius: 2px;
}

.company-description {
    background: #f9fafb;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
}

.company-description h3 {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 15px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.description-content {
    color: #4b5563;
    line-height: 1.7;
    font-size: 16px;
}

.description-content p {
    margin-bottom: 15px;
}

.description-content p:last-child {
    margin-bottom: 0;
}

.contact-info-section {
    padding: 40px;
    border-radius: 16px;
    background: #ffffff;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.contact-info-section.section-visible {
    opacity: 1;
    transform: translateY(0);
}

.contact-info-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 30px 0;
    position: relative;
    padding-bottom: 15px;
}

.contact-info-section h2:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #4f46e5, #7c3aed);
    border-radius: 2px;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: #f3f4f6;
    transform: translateY(-3px);
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4f46e5;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.contact-icon.icon-pulse {
    animation: iconPulse 0.6s ease;
}

.contact-item a {
    color: #111827;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    word-break: break-all;
}

.contact-item a:hover {
    color: #4f46e5;
}

/* Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes iconPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* Review Form Styling */
#review-form-container {
    background: #f9fafb;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid #e5e7eb;
    display: none;
}

#review-form-container h3 {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 20px 0;
}

.review-form {
    display: grid;
    gap: 20px;
}

.form-row {
    display: grid;
    gap: 15px;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }
}

.form-group {
    margin-bottom: 0;
}

.rating-select {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.rating-select .star {
    font-size: 24px;
    color: #e5e7eb;
    cursor: pointer;
    transition: color 0.2s ease;
}

.rating-select .star:hover,
.rating-select .star.selected {
    color: #fbbf24;
}

.submit-review-btn {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
    width: 100%;
    max-width: 200px;
}

.submit-review-btn:hover {
    background: linear-gradient(135deg, #4338ca, #6d28d9);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(124, 58, 237, 0.25);
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 40px 20px;
    background: #f0fdf4;
    border-radius: 12px;
    color: #166534;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    border: 1px solid #dcfce7;
}

.success-message i {
    font-size: 48px;
    color: #10b981;
    margin-bottom: 10px;
}

.success-message h3 {
    font-size: 24px;
    font-weight: 700;
    color: #166534;
    margin: 0 0 10px 0;
}

.success-message p {
    font-size: 16px;
    color: #166534;
    margin: 0;
    max-width: 500px;
}

/* Social Sharing Icons Styling */
.social-sharing-dropdown {
    position: relative;
    display: inline-block;
}

.share-btn {
    background: #4f46e5;
    color: white;
    border: none;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

.share-btn:hover {
    background: #4338ca;
    transform: translateY(-2px);
}

.social-sharing-icons {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin-top: 10px;
    display: none;
    z-index: 100;
    min-width: 200px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.social-sharing-dropdown:hover .social-sharing-icons {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.social-share-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-share-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.facebook-share {
    background: #1877f2;
}

.twitter-share {
    background: #1da1f2;
}

.linkedin-share {
    background: #0a66c2;
}

.whatsapp-share {
    background: #25d366;
}

.email-share {
    background: #ea4335;
}

/* Verified Badge Code Block Styling */
.code-block {
    background: #f9fafb;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    position: relative;
    border: 1px solid #e5e7eb;
}

.code-block pre {
    background: #f3f4f6;
    padding: 15px;
    border-radius: 6px;
    overflow-x: auto;
    margin: 0 0 15px 0;
    font-family: monospace;
    font-size: 14px;
    line-height: 1.5;
    color: #111827;
    border: 1px solid #e5e7eb;
}

.code-block code {
    white-space: pre-wrap;
    word-break: break-word;
}

.btn-copy {
    background: #4f46e5;
    color: white;
    border: none;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-copy:hover {
    background: #4338ca;
}

.badge-preview {
    margin-top: 25px;
    padding: 20px;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    text-align: center;
}

.badge-preview h4 {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 15px 0;
}

@media (max-width: 768px) {
    .profile-header-section {
        flex-direction: column;
        padding: 30px;
        gap: 20px;
    }
    
    .business-logo {
        width: 100px;
        height: 100px;
        margin: 0 auto;
    }
    
    .business-info {
        width: 100%;
        text-align: center;
    }
    
    .verification-status {
        text-align: center;
        margin-bottom: 15px;
    }
    
    .business-name {
        font-size: 32px;
        text-align: center;
    }
    
    .business-meta {
        align-items: center;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-details {
        grid-template-columns: 1fr;
    }
    
    .reviews-section,
    .company-details-section,
    .contact-info-section {
        padding: 30px 20px;
    }
} 