/* ==========================================================================
   Service Type 4 (Plain) - Cartzilla/Dashboard Theme
   
   This file overrides the default service-page.css styles for type 4 services.
   Uses .service-type-4 wrapper class for specificity.
   Matches the Cartzilla dashboard and game home page design language.
   ========================================================================== */

/* ==========================================================================
   CSS Variables - Matching Cartzilla
   ========================================================================== */

.service-type-4 {
    /* Primary accent colors */
    --t4-primary: #2f6ed5;
    --t4-primary-rgb: 47, 110, 213;
    --t4-accent: #5c9aff;
    --t4-accent-hover: #7db0ff;
    --t4-accent-light: rgba(92, 154, 255, 0.15);
    
    /* Status colors */
    --t4-success: #33b36b;
    --t4-success-rgb: 51, 179, 107;
    --t4-warning: #fc9231;
    --t4-warning-rgb: 252, 146, 49;
    --t4-danger: #f03d3d;
    
    /* Card & background - matching site palette */
    --t4-card-bg: #222934;
    --t4-card-border: #333d4c;
    --t4-hover-bg: rgba(255, 255, 255, 0.05);
    --t4-active-bg: rgba(47, 110, 213, 0.15);
    
    /* Text colors */
    --t4-text-primary: #eef1f6;
    --t4-text-secondary: #cad0d9;
    --t4-text-muted: #6c727f;
    
    /* Borders & shadows */
    --t4-border-color: #333d4c;
    --t4-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.25);
    --t4-shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.35);
    
    /* Border radius */
    --t4-radius: 0.5rem;
    --t4-radius-lg: 0.75rem;
    --t4-radius-xl: 1rem;
    --t4-radius-pill: 50rem;
}

html[data-theme="light"] .service-type-4 {
    --t4-card-bg: #ffffff;
    --t4-card-border: rgba(0, 0, 0, 0.08);
    --t4-hover-bg: rgba(0, 0, 0, 0.04);
    --t4-active-bg: rgba(47, 110, 213, 0.1);
    --t4-text-primary: #222934;
    --t4-text-secondary: #6c727f;
    --t4-text-muted: #9ca3af;
    --t4-border-color: #e0e5eb;
    --t4-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.08);
    --t4-shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.12);
    --t4-accent: #2f6ed5;
    --t4-accent-hover: #245bb8;
}

/* ==========================================================================
   Breadcrumbs - No overrides needed
   
   Base styles in style.css (.breadcrumb-cyber) are now clean and minimal.
   All service types share the same breadcrumb styling.
   ========================================================================== */

/* ==========================================================================
   Header Section - Two Column Layout
   ========================================================================== */

.service-type-4 .header-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2.5rem;
    align-items: start;
    margin-bottom: 2.5rem;
}

@media (max-width: 992px) {
    .service-type-4 .header-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.service-type-4 .section-4 {
    max-width: none;
}

.service-type-4 .section-4 .header {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--t4-text-primary);
    margin-bottom: 1.25rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

@media (max-width: 768px) {
    .service-type-4 .section-4 .header {
        font-size: 1.75rem;
    }
}

/* ==========================================================================
   Trust Badges - Cartzilla Badge Style
   ========================================================================== */

.service-type-4 .tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
}

.service-type-4 .section-4 .tag-container .tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(var(--t4-success-rgb), 0.12);
    border: 1px solid var(--t4-success);
    border-radius: var(--t4-radius-pill);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--t4-success);
}

.service-type-4 .section-4 .tag-container .tag i {
    font-size: 0.75rem;
}

/* Alternative badge colors for variety */
.service-type-4 .section-4 .tag-container .tag:nth-child(2) {
    background: rgba(var(--t4-primary-rgb), 0.12);
    border-color: var(--t4-accent);
    color: var(--t4-accent);
}

.service-type-4 .section-4 .tag-container .tag:nth-child(3) {
    background: rgba(var(--t4-warning-rgb), 0.12);
    border-color: var(--t4-warning);
    color: var(--t4-warning);
}

/* ==========================================================================
   Reviews Card - Cartzilla Card Style
   ========================================================================== */

.service-type-4 .trustpilot-showcase-card {
    margin-top: 0;
    margin-bottom: 0;
    max-width: 100%;
}

.service-type-4 .trustpilot-showcase-link {
    display: block;
    background: var(--t4-card-bg);
    border: 1px solid var(--t4-card-border);
    border-radius: var(--t4-radius-xl);
    padding: 1.5rem;
    text-decoration: none;
}

.service-type-4 .trustpilot-header-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.875rem;
}

.service-type-4 .trustpilot-icon-circle {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--t4-success) 0%, #28a05e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(var(--t4-success-rgb), 0.35);
}

.service-type-4 .trustpilot-icon-circle i {
    font-size: 1.25rem;
    color: #fff;
}

.service-type-4 .trustpilot-showcase-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--t4-text-primary);
    margin: 0;
    line-height: 1.35;
}

.service-type-4 .trustpilot-showcase-desc {
    font-size: 0.9375rem;
    color: var(--t4-text-secondary);
    margin: 0 0 1.25rem;
    line-height: 1.6;
}

.service-type-4 .trustpilot-bottom-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.service-type-4 .trustpilot-showcase-stars {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.service-type-4 .trustpilot-showcase-stars i {
    font-size: 1.125rem;
}

.service-type-4 .trustpilot-showcase-stars .star-full,
.service-type-4 .trustpilot-showcase-stars .star-half {
    color: #ffc107;
    text-shadow: 0 2px 4px rgba(255, 193, 7, 0.3);
}

.service-type-4 .trustpilot-showcase-stars .star-empty {
    color: rgba(255, 255, 255, 0.15);
}

html[data-theme="light"] .service-type-4 .trustpilot-showcase-stars .star-empty {
    color: rgba(0, 0, 0, 0.12);
}

.service-type-4 .trustpilot-showcase-stars .reviews-count {
    margin-left: 0.625rem;
    color: var(--t4-text-secondary);
    font-weight: 600;
    font-size: 0.9375rem;
}

.service-type-4 .trustpilot-divider {
    display: none;
}

/* CTA Button - Uses service-page.css base styling for consistency */
/* Removed to use shared .btn-trustpilot styling from service-page.css */

@media (max-width: 576px) {
    .service-type-4 .trustpilot-bottom-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .service-type-4 .trustpilot-showcase-stars {
        justify-content: center;
    }
}

/* ==========================================================================
   Mount / Service Image - Circular with Glow
   ========================================================================== */

.service-type-4 .mount-container {
    position: relative;
    width: 300px;
    height: 300px;
    flex-shrink: 0;
    justify-self: center;
}

@media (max-width: 992px) {
    .service-type-4 .mount-container {
        width: 280px;
        height: 280px;
        order: -1;
    }
}

@media (max-width: 576px) {
    .service-type-4 .mount-container {
        width: 220px;
        height: 220px;
    }
}

.service-type-4 .mount-container .mount {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--t4-card-border);
    box-shadow: var(--t4-shadow);
}

/* ==========================================================================
   Section Headers - Cartzilla Style
   ========================================================================== */

.service-type-4 ~ .section-3,
.service-wrapper.service-type-4 ~ .section-3 {
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
}

.service-type-4 ~ .section-3 .header,
.service-wrapper.service-type-4 ~ .section-3 .header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--t4-text-primary);
    letter-spacing: 0;
    text-transform: none;
}

.service-type-4 ~ .section-3 .header::before {
    content: '';
    width: 4px;
    height: 1.25rem;
    background: linear-gradient(180deg, var(--t4-accent) 0%, var(--t4-primary) 100%);
    border-radius: 2px;
}

/* ==========================================================================
   Service Options Grid - Enhanced Cards
   ========================================================================== */

.service-type-4 ~ .service-input-grid,
.service-wrapper.service-type-4 ~ section.service-input-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
}

/* ==========================================================================
   Select Dropdowns - Type 4 specific styling
   
   Base dropdown styles are now in service-page.css for all types.
   Only type-4-specific card styling is applied here.
   ========================================================================== */

/* Dropdown container styling now in service-page.css for all types */

/* Select/dropdown styling moved to service-page.css for all types */
/* Only type-4-specific color enhancements remain */
.service-type-4 .select-1.opened .select-btn i {
    color: var(--t4-accent);
}

/* ==========================================================================
   Checkbox Options - Cartzilla Toggle Cards (match dropdown style)
   ========================================================================== */

/* Boolean gradient hover effect now in service-page.css for all types */

/* Active state with type-4 success color */
.service-type-4 .select-option-2.active::before {
    background: linear-gradient(135deg, var(--t4-success) 0%, rgba(var(--t4-success-rgb), 0.3) 100%);
    opacity: 1;
}

.service-type-4 .select-option-2.active {
    border-color: transparent !important;
    background: rgba(var(--t4-success-rgb), 0.08) !important;
}

/* Boolean text styling - color overrides only (font-weight in service-page.css) */
.service-type-4 .select-option-2 .checkbox-info .header {
    color: var(--t4-accent);
}

.service-type-4 .select-option-2.active .checkbox-info .header {
    color: var(--t4-success);
}

/* Checkbox icon - hover color override only (base styling in service-page.css) */
.service-type-4 .select-option-2:hover .check-icon {
    border-color: var(--t4-accent);
}

.service-type-4 .select-option-2.active .check-icon {
    border-color: var(--t4-success);
    background: var(--t4-success) !important;
}

.service-type-4 .select-option-2.active .check-icon i {
    color: #fff;
}

/* ==========================================================================
   Order Preferences Section
   ========================================================================== */

.service-type-4 ~ .service-wrapper .section-4.mb-3,
.service-wrapper.service-type-4 ~ .service-wrapper .section-4.mb-3 {
    background: var(--t4-card-bg);
    border: 1px solid var(--t4-card-border);
    border-radius: var(--t4-radius-xl);
    padding: 1.5rem;
    margin-bottom: 1.5rem !important;
}

.service-type-4 ~ .service-wrapper .section-4.mb-3 .header,
.service-wrapper.service-type-4 ~ .service-wrapper .section-4.mb-3 .header {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--t4-text-primary);
    margin-bottom: 0.5rem;
}

.service-type-4 ~ .service-wrapper .section-4.mb-3 .desc,
.service-wrapper.service-type-4 ~ .service-wrapper .section-4.mb-3 .desc {
    font-size: 0.875rem;
    color: var(--t4-text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   Description Section - Content Card
   ========================================================================== */

.service-type-4 ~ .service-wrapper .description_container,
.service-wrapper.service-type-4 ~ .service-wrapper .description_container {
    background: var(--t4-card-bg);
    border: 1px solid var(--t4-card-border);
    border-radius: var(--t4-radius-xl);
    padding: 2rem;
    color: var(--t4-text-secondary);
    line-height: 1.75;
    font-size: 0.9375rem;
}

.service-type-4 ~ .service-wrapper .description_container h1,
.service-type-4 ~ .service-wrapper .description_container h2,
.service-type-4 ~ .service-wrapper .description_container h3,
.service-type-4 ~ .service-wrapper .description_container h4 {
    color: var(--t4-text-primary);
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.service-type-4 ~ .service-wrapper .description_container h1:first-child,
.service-type-4 ~ .service-wrapper .description_container h2:first-child,
.service-type-4 ~ .service-wrapper .description_container h3:first-child {
    margin-top: 0;
}

.service-type-4 ~ .service-wrapper .description_container h2 {
    font-size: 1.25rem;
}

.service-type-4 ~ .service-wrapper .description_container h3 {
    font-size: 1.125rem;
}

.service-type-4 ~ .service-wrapper .description_container p {
    margin-bottom: 1rem;
}

.service-type-4 ~ .service-wrapper .description_container ul,
.service-type-4 ~ .service-wrapper .description_container ol {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.service-type-4 ~ .service-wrapper .description_container li {
    margin-bottom: 0.5rem;
}

.service-type-4 ~ .service-wrapper .description_container a {
    color: var(--t4-accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.service-type-4 ~ .service-wrapper .description_container a:hover {
    color: var(--t4-accent-hover);
    text-decoration: underline;
}

/* ==========================================================================
   Tooltips - Type 4 specific styling
   
   Base tooltip styles are now in service-page.css for all types.
   ========================================================================== */

/* ==========================================================================
   Review Count Responsive
   ========================================================================== */

.service-type-4 .reviews-count-full {
    display: inline;
}

.service-type-4 .reviews-count-compact {
    display: none;
}

@media (max-width: 520px) {
    .service-type-4 .reviews-count-full {
        display: none;
    }
    .service-type-4 .reviews-count-compact {
        display: inline;
    }
}

/* Add to Cart styles moved to service-page.css for consistency */
