/* Login Portal Plugin Styles */

/* Reset and Base Styles */
.login-portal-container *,
.login-portal-profile-container *,
.login-portal-directory *,
.login-portal-user-profile * {
    box-sizing: border-box;
}

/* Login Form Styles */
.login-portal-container {
    max-width: 500px;
    margin: 40px auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.login-portal-form-wrapper {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    border: 1px solid #e5e7eb;
}

.form-header {
    text-align: center;
    margin-bottom: 30px;
}

.form-header h2 {
    color: #1f2937;
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.form-header p {
    color: #6b7280;
    font-size: 16px;
    margin: 0;
}

/* Form Tabs */
.form-tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 2px solid #f3f4f6;
}

.tab-btn {
    flex: 1;
    padding: 12px 20px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-btn.active {
    color: #3b82f6;
    border-bottom-color: #3b82f6;
}

.tab-btn:hover {
    color: #3b82f6;
}

/* Form Content */
.form-content {
    display: none;
}

.form-content.active {
    display: block;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    font-size: 14px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: 500;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 120px;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border-color: #3b82f6;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background: #f3f4f6;
    color: #374151;
    border-color: #d1d5db;
}

.btn-secondary:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #6b7280;
    border-color: #d1d5db;
}

.btn-outline:hover {
    background: #f9fafb;
    color: #374151;
}

.btn-next,
.btn-prev,
.btn-submit {
    width: 100%;
    margin-top: 20px;
}

.btn-prev {
    background: #6b7280;
    color: white;
}

.btn-prev:hover {
    background: #4b5563;
}

/* Form Links */
.form-links {
    text-align: center;
    margin-top: 20px;
}

.form-links a {
    color: #3b82f6;
    text-decoration: none;
    font-size: 14px;
}

.form-links a:hover {
    text-decoration: underline;
}

.form-note {
    margin-top: 15px;
    padding: 12px;
    background: #f0f9ff;
    border-radius: 6px;
    border-left: 4px solid #3b82f6;
}

.form-note p {
    margin: 0;
    font-size: 14px;
    color: #1e40af;
}

/* Messages */
.form-messages {
    margin-top: 20px;
    padding: 12px;
    border-radius: 6px;
    display: none;
}

.form-messages.success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-messages.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

/* Login Portal Messages */
.login-portal-message {
    max-width: 500px;
    margin: 40px auto;
    padding: 40px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.login-portal-message h3 {
    color: #1f2937;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 15px 0;
}

.login-portal-message p {
    color: #6b7280;
    font-size: 16px;
    margin: 0 0 25px 0;
    line-height: 1.5;
}

.login-portal-message .btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.login-portal-message .btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

/* Profile Form Styles */
.login-portal-profile-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.profile-header {
    text-align: center;
    margin-bottom: 40px;
}

.profile-header h2 {
    color: #1f2937;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.profile-header p {
    color: #6b7280;
    font-size: 18px;
    margin: 0;
}

.login-portal-profile-form {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 40px;
    border: 1px solid #e5e7eb;
}

/* Step Indicator */
.step-indicator {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    position: relative;
}

.step-indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 25%;
    right: 25%;
    height: 2px;
    background: #e5e7eb;
    z-index: 1;
}

.step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin: 0 20px;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.step.active {
    background: #3b82f6;
    color: white;
}

.step.completed {
    background: #10b981;
    color: white;
}

/* Form Steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-step h3 {
    color: #1f2937;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 30px 0;
    text-align: center;
}

/* Image Upload */
.image-upload-container {
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: border-color 0.3s ease;
}

.image-upload-container:hover {
    border-color: #3b82f6;
}

.image-upload {
    margin-bottom: 10px;
}

.image-preview {
    margin-top: 15px;
}

.image-preview img {
    max-width: 200px;
    max-height: 150px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Directory Styles */
.login-portal-directory {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.directory-header {
    text-align: center;
    margin-bottom: 40px;
}

.directory-header h2 {
    color: #1f2937;
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 20px 0;
}

.search-container {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
}

.search-container input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
}

.search-container button {
    padding: 12px 24px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.search-container button:hover {
    background: #1d4ed8;
}

/* Directory Grid */
.directory-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin: 40px 0;
}

#load-more-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
}

#load-more-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3);
}

#load-more-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#load-more-btn.loading {
    position: relative;
    color: transparent;
}

#load-more-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Business Cards - New Style */
.business-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    cursor: pointer;
    position: relative;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.business-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.quality-mark {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 3;
}

/* Verified badge */
.quality-mark:not(.pending):not(.unverified) {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #dcfce7;
}

/* Pending verification badge */
.quality-mark.pending {
    background: #fff7ed;
    color: #ea580c;
    border: 1px solid #ffedd5;
}

.quality-mark svg {
    fill: none;
}

.quality-mark:not(.pending):not(.unverified) svg {
    stroke: #16a34a;
}

.quality-mark.pending svg {
    stroke: #ea580c;
}

/* Red badge for unverified businesses */
.business-card.unregistered .quality-mark {
    background-color: #ff0000;
    color: white;
    border-color: #ff0000;
}

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

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.logo-container {
    margin-right: 15px;
}

.company-logo {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    background: white;
    border: 1px solid #f1f5f9;
}

.default-logo {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: #f1f5f9;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.card-content {
    flex: 1;
}

.company-name {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 5px 0;
}

.business-website {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 15px 0;
    text-decoration: none;
    display: block;
}

.rating {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.stars {
    display: flex;
}

.star {
    color: #fbbf24;
    margin-right: 2px;
}

.star.half {
    color: #fbbf24;
    margin-right: 2px;
}

.empty-star {
    color: #e5e7eb;
    margin-right: 2px;
}

.rating-score {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-left: 6px;
}

.rating-count {
    font-size: 14px;
    color: #64748b;
    margin-left: 6px;
}

.services p,
.company-description p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.5;
    margin: 0 0 15px 0;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: auto;
    padding-top: 15px;
}

.social-link {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    text-decoration: none;
    font-size: 16px;
    transition: transform 0.3s ease, background 0.3s ease;
    background: #f1f5f9;
}

.social-link:hover {
    transform: translateY(-2px);
    background: #e2e8f0;
}

.card-footer {
    margin-top: 15px;
}

.visit-website-btn {
    width: 100%;
    padding: 10px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 80px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.visit-website-btn:hover {
    background: #2563eb;
}

/* Load More */
.load-more-container {
    text-align: center;
}

#load-more-btn {
    padding: 12px 30px;
    background: #6b7280;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

#load-more-btn:hover {
    background: #4b5563;
}

/* User Profile Styles */
.login-portal-user-profile {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.profile-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 30px;
}

.profile-actions {
    display: flex;
    gap: 10px;
}

.profile-banner {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
}

.profile-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    padding: 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.profile-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.default-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #3b82f6;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 36px;
}

.profile-details h1 {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 10px 0;
}

.verification-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #10b981;
    font-weight: 600;
    margin-bottom: 15px;
}

.website-link {
    margin-top: 15px;
}

.profile-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.profile-section h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 20px 0;
}

.profile-section p {
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.usp-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.usp-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f3f4f6;
    position: relative;
    padding-left: 25px;
}

.usp-list li:last-child {
    border-bottom: none;
}

.usp-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
    font-size: 16px;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.social-links .social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    color: rgb(0, 0, 0);
    font-weight: 600;
    transition: transform 0.3s ease;
    width: auto;
    height: auto;
}

.social-links .social-link:hover {
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 900px) {
    .directory-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .login-portal-container,
    .login-portal-profile-container,
    .login-portal-directory,
    .login-portal-user-profile {
        padding: 10px;
    }
    
    .login-portal-form-wrapper,
    .login-portal-profile-form {
        padding: 20px;
    }
    
    .directory-grid {
        grid-template-columns: 1fr;
    }
    
    .search-container {
        flex-direction: column;
    }
    
    .profile-info {
        flex-direction: column;
        text-align: center;
    }
    
    .profile-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .profile-actions {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3b82f6;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Business Profile - Trustpilot Style */
.business-profile.trustpilot-style {
    max-width: 1200px;
    margin: 0 auto;
    background: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Header Section */
.profile-header-section {
    display: flex;
    align-items: flex-start;
    padding: 40px 20px;
    border-bottom: 1px solid #e8e8e8;
    gap: 40px;
}

.profile-left {
    display: flex;
    gap: 20px;
    flex: 1;
}

.business-logo img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.business-logo .default-logo {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    background: #4285f4;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
}

.business-info {
    flex: 1;
}

.verification-status {
    margin-bottom: 8px;
}

.verified-badge {
    color: #00b67a;
    font-size: 14px;
    font-weight: 500;
}

.unverified-badge {
    color: #ff6d70;
    font-size: 14px;
    font-weight: 500;
}

.business-name {
    font-size: 34px;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.2;
}

.business-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.reviews-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

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

.trustpilot-stars .star.filled {
    color: #00b67a;
    font-size: 16px;
}

.trustpilot-stars .star.empty {
    color: #ddd;
    font-size: 16px;
}

.rating-score {
    font-weight: 600;
    color: #333;
}

.business-category {
    color: #666;
    font-size: 14px;
}

.action-buttons {
    display: flex !important;
    gap: 12px;
}

.write-review-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.write-review-btn:hover {
    background: #1d4ed8;
}

.visit-website-btn {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
    padding: 10px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.visit-website-btn:hover {
    background: #2563eb;
    color: white;
}

/* Rating Overview */
.profile-right {
    min-width: 300px;
}

.rating-overview {
    text-align: center;
    padding: 20px;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
}

.rating-score-large {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    line-height: 1;
}

.rating-label {
    font-size: 18px;
    font-weight: 600;
    color: #00b67a;
    margin: 8px 0;
}

.rating-stars-large {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 20px;
}

.rating-stars-large .star.filled {
    color: #00b67a;
    font-size: 24px;
}

.rating-stars-large .star.empty {
    color: #ddd;
    font-size: 24px;
}

.rating-breakdown {
    margin: 20px 0;
}

.rating-bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    font-size: 14px;
}

.star-label {
    min-width: 50px;
    text-align: left;
    color: #666;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #00b67a;
    transition: width 0.3s ease;
}

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

/* Trust Notice */
.trust-notice {
    background: #f7f9fc;
    padding: 16px 20px;
    border: 1px solid #e1e8f0;
    margin: 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #4a5568;
}

.trust-icon {
    font-size: 16px;
}

/* Reviews Section */
.reviews-section {
    padding: 40px 20px;
}

.reviews-section h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #333;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.review-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    background: #fff;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #4285f4;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 18px;
    flex-shrink: 0;
}

.review-content {
    flex: 1;
}

.reviewer-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.review-date {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

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

.review-stars .star.filled {
    color: #00b67a;
    font-size: 14px;
}

.review-stars .star.empty {
    color: #ddd;
    font-size: 14px;
}

.review-text {
    color: #333;
    line-height: 1.5;
    font-size: 14px;
}

.read-more {
    color: #2563eb;
    cursor: pointer;
    font-weight: 500;
}

.no-reviews-message {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 40px;
    grid-column: 1 / -1;
}

.see-all-reviews {
    text-align: center;
}

.see-all-btn {
    background: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.see-all-btn:hover {
    background: #2563eb;
    color: white;
}

/* Company Details Section */
.company-details-section {
    padding: 40px 20px;
    border-top: 1px solid #e8e8e8;
}

.company-details-section h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #333;
}

.company-description h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #666;
}

.description-content {
    color: #333;
    line-height: 1.6;
}

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

/* Contact Info Section */
.contact-info-section {
    padding: 40px 20px;
    border-top: 1px solid #e8e8e8;
}

.contact-info-section h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #333;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-icon {
    font-size: 18px;
}

.contact-item a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .profile-header-section {
        flex-direction: column;
        gap: 24px;
    }
    
    .profile-left {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .business-meta {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .action-buttons {
        justify-content: center;
      
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .rating-overview {
        margin: 0 20px;
    }
} 

/* Review System Styles */
.rating-select {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.rating-label {
    margin-right: 15px;
    font-weight: 600;
    color: #374151;
}

.rating-select .star {
    font-size: 28px;
    color: #d1d5db;
    cursor: pointer;
    margin-right: 5px;
    transition: all 0.2s ease;
}

.rating-select .star.selected {
    color: #f59e0b;
}

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

#review-form-container {
    margin-top: 40px;
    padding: 30px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e7eb;
}

#review-form-container h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 20px;
    color: #1f2937;
}

.review-form .form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.review-form .form-row .form-group {
    flex: 1;
}

.submit-review-btn {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.submit-review-btn i {
    margin-right: 8px;
}

.submit-review-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.success-message {
    text-align: center;
    padding: 30px;
}

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

.success-message h3 {
    color: #10b981;
    margin-bottom: 10px;
}

.success-message p {
    color: #374151;
    font-size: 16px;
}

/* Animation for review cards */
.review-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

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

/* Animation for sections */
.reviews-section,
.company-details-section,
.contact-info-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Responsive styles for review system */
@media (max-width: 768px) {
    .review-form .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .rating-select {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .rating-label {
        margin-bottom: 10px;
    }
}

/* Custom Plugin Styles */
.directory-grid {
    grid-template-columns: repeat(3, 1fr);
}

.social-links .social-link {
    color: black;
}

.company-logo {
    object-fit: contain;
}

.verification-status {
    text-align: left;
}

.business-name {
    font-size: 34px;
}

.visit-website-btn {
    width: auto;
    border-radius: 80px;
}

.write-review-btn {
    border-radius: 80px;
}

.reviews-section {
    box-shadow: unset;
}

.review-card {
    box-shadow: unset;
}

.reviewer-avatar {
    display: none;
}

.contact-item {
    background: unset;
}

.header-actions {
    margin-left: 100px;
}
