/* SLSWMA Waste Collection Page - Material Design Styles */
/* WordPress Compatible - All classes prefixed with 'slswma-' */

/* CSS Variables for Color Scheme */
:root {
    --slswma-primary: #22AA86;
    --slswma-primary-light: #4BC5A8;
    --slswma-primary-dark: #1A8B6A;
    --slswma-secondary: #9CC026;
    --slswma-secondary-light: #B5D34A;
    --slswma-secondary-dark: #7A961D;
    --slswma-tertiary: #44514E;
    --slswma-tertiary-light: #6A7770;
    --slswma-tertiary-dark: #2E3834;
    
    /* Material Design Grays */
    --slswma-surface: #FFFFFF;
    --slswma-surface-variant: #F5F5F5;
    --slswma-outline: #E0E0E0;
    --slswma-text-primary: #212121;
    --slswma-text-secondary: #757575;
    --slswma-text-on-primary: #FFFFFF;
    
    /* Shadows */
    --slswma-shadow-1: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --slswma-shadow-2: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
    --slswma-shadow-3: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
    --slswma-shadow-4: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);

    
    /* Typography */
    --slswma-font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0.0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);

}

/* Reset and Base Styles */
.slswma-container * {
    box-sizing: border-box;
}

.slswma-container {
    font-family: var(--slswma-font-family);
    line-height: 1.6;
    color: var(--slswma-text-primary);
    margin: 0;
    padding: 0;
}

.slswma-container-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
.slswma-hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.2;
    margin: 0 0 16px 0;
    color: var(--slswma-text-on-primary);
}

.slswma-section-title {
    font-size: 2.5rem;
    font-weight: 400;
    margin: 0 0 16px 0;
    color: var(--slswma-text-primary);
}

.slswma-card-title {
    font-size: 1.5rem;
    font-weight: 500;
    margin: 0 0 8px 0;
    color: var(--slswma-text-primary);
}

/* Hero Section */
.slswma-hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--slswma-secondary) 0%, var(--slswma-primary) 100%);
    color: white;
    overflow: hidden;
    /* Make hero full-bleed inside WordPress themes that constrain content width */
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.slswma-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
}

.slswma-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.slswma-hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
    max-width: 800px;
    padding: 40px 24px;
}

.slswma-hero-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    margin: 0 0 32px 0;
    opacity: 0.9;
    color: var(--slswma-text-on-primary);
}

/* Buttons */
.slswma-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-family: var(--slswma-font-family);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
    box-shadow: var(--slswma-shadow-1);
    text-decoration: none;
}

.slswma-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--slswma-shadow-2);
}

.slswma-btn-primary {
    background-color: var(--slswma-primary);
    color: var(--slswma-text-on-primary);
}

.slswma-btn-primary:hover {
    background-color: var(--slswma-primary-dark);
}

.slswma-btn-secondary {
    background-color: var(--slswma-secondary);
    color: var(--slswma-text-on-primary);
    cursor: pointer;
}

.slswma-btn-secondary:hover {
    background-color: var(--slswma-secondary-dark);
}

/* Enhanced button hover effect for Learn More buttons */
.slswma-card-actions .slswma-btn-secondary {
    position: relative;
    transition: all var(--transition-fast);
}

.slswma-card-actions .slswma-btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--slswma-shadow-2);
}

.slswma-hero-cta {
    font-size: 1rem;
    padding: 16px 32px;
}

/* Sections */
.slswma-section {
    padding: 20px 0;
}

.slswma-section-alt {
    background-color: var(--slswma-surface-variant);
}

.slswma-section-header {
    text-align: center;
    margin-bottom: 64px;
}

.slswma-section-subtitle {
    font-size: 1.125rem;
    color: var(--slswma-text-secondary);
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Cards */
.slswma-card {
    background: var(--slswma-surface);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--slswma-shadow-1);
    transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.slswma-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--slswma-shadow-3);
}

.slswma-card-media {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.slswma-facility-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s ease;
}

.slswma-card:hover .slswma-facility-image {
    transform: scale(1.05);
}

.residential-bg {
    background: linear-gradient(45deg, var(--slswma-primary), var(--slswma-secondary)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><rect width="200" height="200" fill="rgba(34,170,134,0.1)"/><path d="M 50 100 L 100 50 L 150 100 L 150 150 L 50 150 Z" fill="rgba(255,255,255,0.1)"/><rect x="70" y="110" width="20" height="30" fill="rgba(255,255,255,0.1)"/><rect x="110" y="110" width="20" height="30" fill="rgba(255,255,255,0.1)"/></svg>');
    background-blend-mode: overlay;
}

.commercial-bg {
    background: linear-gradient(45deg, var(--slswma-tertiary), var(--slswma-primary)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><rect width="200" height="200" fill="rgba(68,81,78,0.1)"/><rect x="50" y="60" width="40" height="80" fill="rgba(255,255,255,0.1)"/><rect x="110" y="60" width="40" height="80" fill="rgba(255,255,255,0.1)"/><rect x="60" y="70" width="20" height="20" fill="rgba(255,255,255,0.1)"/><rect x="120" y="70" width="20" height="20" fill="rgba(255,255,255,0.1)"/></svg>');
    background-blend-mode: overlay;
}

.bulk-bg {
    background: linear-gradient(45deg, var(--slswma-secondary-dark), var(--slswma-secondary)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><rect width="200" height="200" fill="rgba(156,192,38,0.1)"/><rect x="40" y="80" width="50" height="40" fill="rgba(255,255,255,0.1)"/><rect x="110" y="90" width="60" height="35" fill="rgba(255,255,255,0.1)"/><circle cx="60" cy="135" r="8" fill="rgba(255,255,255,0.1)"/></svg>');
    background-blend-mode: overlay;
}

.biomedical-bg {
    background: linear-gradient(45deg, var(--slswma-primary-dark), var(--slswma-tertiary)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200"><rect width="200" height="200" fill="rgba(26,139,106,0.1)"/><rect x="90" y="60" width="20" height="80" fill="rgba(255,255,255,0.15)"/><rect x="60" y="90" width="80" height="20" fill="rgba(255,255,255,0.15)"/><circle cx="100" cy="100" r="45" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="3"/></svg>');
    background-blend-mode: overlay;
}

.slswma-facility-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--slswma-text-primary);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(10px);
}

.slswma-card-content {
    padding: 24px;
}

.slswma-facility-date {
    color: var(--slswma-primary);
    font-weight: 500;
    font-size: 0.875rem;
    margin: 0 0 12px 0;
}

.slswma-card-description {
    color: var(--slswma-text-secondary);
    margin: 0 0 20px 0;
    line-height: 1.6;
}

.slswma-facility-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
}

.slswma-stat {
    text-align: center;
}

.slswma-stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--slswma-primary);
}

.slswma-stat-label {
    font-size: 0.75rem;
    color: var(--slswma-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.slswma-card-actions {
    padding: 0 24px 24px;
}

/* Grids */
.slswma-facilities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.slswma-impact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.slswma-process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

/* When there's only one item, limit it to one-third width in first column */
.slswma-process-grid:has(.slswma-process-step:only-child) {
    grid-template-columns: repeat(3, 1fr);
}

.slswma-process-grid .slswma-process-step:only-child {
    grid-column: 1 / 2;
}

.slswma-amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.slswma-cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

/* Facility Details */
.slswma-facility-details {
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slswma-facility-header {
    margin-bottom: 40px;
}

.slswma-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: var(--slswma-primary);
    font-family: var(--slswma-font-family);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    margin-bottom: 16px;
}

.slswma-back-btn:hover {
    background-color: rgba(34, 170, 134, 0.1);
}

.slswma-info-card {
    background: var(--slswma-surface);
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--slswma-shadow-1);
    margin-bottom: 32px;
}

.slswma-info-card h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--slswma-primary);
    font-size: 1.25rem;
    margin: 0 0 16px 0;
}

.slswma-process-section,
.slswma-amenities-section {
    margin-bottom: 40px;
}

.slswma-process-section h3,
.slswma-amenities-section h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--slswma-tertiary);
    font-size: 1.5rem;
    margin: 0 0 24px 0;
}

.slswma-process-step {
    background: var(--slswma-surface);
    padding: 24px;
    border-radius: 12px;
    box-shadow: var(--slswma-shadow-1);
    text-align: center;
    transition: transform 0.2s ease;
}

.slswma-process-step:hover {
    transform: translateY(-2px);
}

.slswma-process-icon {
    width: 60px;
    height: 60px;
    background: var(--slswma-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.slswma-process-icon .material-icons {
    color: white;
    font-size: 24px;
}

.slswma-process-step h4 {
    font-size: 1.125rem;
    margin: 0 0 8px 0;
    color: var(--slswma-text-primary);
}

.slswma-process-step p {
    color: var(--slswma-text-secondary);
    font-size: 0.875rem;
    margin: 0;
}

.slswma-amenity {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--slswma-surface);
    border-radius: 8px;
    box-shadow: var(--slswma-shadow-1);
    transition: transform 0.2s ease;
}

.slswma-amenity:hover {
    transform: translateY(-1px);
}

.slswma-amenity .material-icons {
    color: var(--slswma-secondary);
    font-size: 20px;
}

/* Impact Cards */
.slswma-impact-card {
    background: var(--slswma-surface);
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--slswma-shadow-1);
    text-align: center;
    transition: transform 0.3s ease;
}

.slswma-impact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--slswma-shadow-2);
}

.slswma-impact-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--slswma-primary), var(--slswma-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.slswma-impact-icon .material-icons {
    color: white;
    font-size: 36px;
}

.slswma-impact-card h3 {
    font-size: 1.25rem;
    margin: 0 0 16px 0;
    color: var(--slswma-text-primary);
}

.slswma-impact-card p {
    color: var(--slswma-text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* CTA Cards */
.slswma-cta-card {
    background: var(--slswma-surface);
    border-radius: 12px;
    box-shadow: var(--slswma-shadow-1);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.slswma-cta-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--slswma-shadow-2);
}

.slswma-cta-content {
    padding: 32px;
    text-align: center;
}

.slswma-cta-content h3 {
    font-size: 1.5rem;
    margin: 0 0 16px 0;
    color: var(--slswma-text-primary);
}

.slswma-cta-content p {
    color: var(--slswma-text-secondary);
    margin: 0 0 24px 0;
    line-height: 1.6;
}

/* Recyclers Section */
.slswma-recyclers-container {
    max-width: 100%;
    margin: 0 auto;
}

.slswma-recyclers-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.slswma-recycler-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--slswma-surface);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--slswma-shadow-1);
    transition: all var(--transition-normal);
    border-top: 4px solid var(--slswma-secondary);
}

.slswma-recycler-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--slswma-shadow-2);
    border-top-color: var(--slswma-primary);
}

.slswma-recycler-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--slswma-primary), var(--slswma-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--slswma-shadow-1);
    margin-bottom: 12px;
}

.slswma-recycler-icon .material-icons {
    color: white;
    font-size: 24px;
}

.slswma-recycler-info {
    width: 100%;
}

.slswma-recycler-name {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: var(--slswma-text-primary);
    line-height: 1.3;
}

.slswma-recycler-materials {
    font-size: 0.8rem;
    color: var(--slswma-text-secondary);
    margin: 0 0 12px 0;
    line-height: 1.4;
}

.slswma-recycler-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--slswma-primary);
    font-weight: 500;
    font-size: 0.85rem;
}

.slswma-recycler-contact .material-icons {
    font-size: 18px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .slswma-facilities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Scroll to Top Button */
.slswma-scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--slswma-primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--slswma-shadow-3);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.slswma-scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.slswma-scroll-to-top:hover {
    background: var(--slswma-primary-dark);
    transform: translateY(-3px);
}

.slswma-scroll-to-top .material-icons {
    font-size: 24px;
}

@media (max-width: 768px) {
    .slswma-hero-title {
        font-size: 2.5rem;
    }
    
    .slswma-section-title {
        font-size: 2rem;
    }
    
    .slswma-hero-content {
        padding: 24px 16px;
    }
    
    .slswma-section {
        padding: 60px 0;
    }
    
    .slswma-container-inner {
        padding: 0 16px;
    }
    
    .slswma-facilities-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .slswma-facility-stats {
        justify-content: center;
    }
    
    .slswma-process-grid {
        grid-template-columns: 1fr;
    }
    
    .slswma-amenities-grid {
        grid-template-columns: 1fr;
    }
    
    .slswma-impact-grid {
        grid-template-columns: 1fr;
    }
    
    .slswma-cta-grid {
        grid-template-columns: 1fr;
    }
    
    .slswma-recyclers-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

/* Tablet screens */
@media (max-width: 1024px) {
    .slswma-recyclers-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .slswma-hero-title {
        font-size: 2rem;
    }
    
    .slswma-section-title {
        font-size: 1.75rem;
    }
    
    .slswma-card-content,
    .slswma-info-card {
        padding: 20px;
    }
    
    .slswma-process-step {
        padding: 20px;
    }
    
    .slswma-cta-content {
        padding: 24px;
    }
    
    .slswma-recyclers-list {
        grid-template-columns: 1fr;
    }
}

/* WordPress Theme Compatibility */
.slswma-container h1,
.slswma-container h2,
.slswma-container h3,
.slswma-container h4,
.slswma-container h5,
.slswma-container h6 {
    font-family: var(--slswma-font-family) !important;
}

.slswma-container p,
.slswma-container span,
.slswma-container div {
    font-family: var(--slswma-font-family);
}

/* Ensure no conflicts with WordPress admin bar */
@media screen and (min-width: 782px) {
    .admin-bar .slswma-hero {
        margin-top: 0;
    }
}

/* Focus states for accessibility */
.slswma-btn:focus {
    outline: 2px solid var(--slswma-primary);
    outline-offset: 2px;
}

.slswma-back-btn:focus {
    outline: 2px solid var(--slswma-primary);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .slswma-hero {
        background: var(--slswma-primary) !important;
        color: white !important;
    }
    
    .slswma-card,
    .slswma-impact-card,
    .slswma-cta-card {
        box-shadow: none !important;
        border: 1px solid var(--slswma-outline);
    }
}


/* Read More Button Styles */
.slswma-read-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 8px 16px;
    border: none;
    background: transparent;
    color: var(--slswma-primary);
    font-family: var(--slswma-font-family);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    border-radius: 4px;
}

.slswma-read-more-btn:hover {
    background: rgba(34, 170, 134, 0.1);
    transform: translateX(4px);
}

.slswma-read-more-btn .material-icons {
    font-size: 1.2rem;
    transition: transform var(--transition-fast);
}

.slswma-read-more-btn.expanded .material-icons {
    transform: rotate(180deg);
}

.slswma-overview-expanded {
    margin-top: 12px;
    animation: slideDown var(--transition-normal) ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        max-height: 200px;
        transform: translateY(0);
    }
}

/* Overview Collapsible Section */
.slswma-overview-section {
    padding: 40px 0 20px 0;
}

.slswma-overview-collapsible {
    max-width: 900px;
    margin: 0 auto;
    background: var(--slswma-surface);
    border-radius: 12px;
    box-shadow: var(--slswma-shadow-1);
    overflow: hidden;
    border-left: 4px solid var(--slswma-primary);
}

.slswma-overview-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    background: var(--slswma-surface);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--slswma-font-family);
}

.slswma-overview-toggle:hover {
    background: var(--slswma-surface-variant);
}

.slswma-overview-toggle:focus {
    outline: 2px solid var(--slswma-primary);
    outline-offset: -2px;
}

.slswma-overview-toggle-content {
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
}

.slswma-overview-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--slswma-primary), var(--slswma-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.slswma-overview-icon .material-icons {
    color: white;
    font-size: 24px;
}

.slswma-overview-header-text h3 {
    margin: 0 0 4px 0;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--slswma-text-primary);
}

.slswma-overview-hint {
    font-size: 0.875rem;
    color: var(--slswma-text-secondary);
}

.slswma-overview-arrow {
    color: var(--slswma-primary);
    transition: transform var(--transition-normal);
    flex-shrink: 0;
}

.slswma-overview-toggle[aria-expanded="true"] .slswma-overview-arrow {
    transform: rotate(180deg);
}

.slswma-overview-content {
    overflow: hidden;
    transition: all var(--transition-normal);
}

.slswma-overview-text {
    padding: 0 24px 24px 24px;
    animation: fadeInOverview var(--transition-normal) ease-out;
}

.slswma-overview-text p {
    margin: 0 0 16px 0;
    line-height: 1.8;
    font-size: 1rem;
    color: var(--slswma-text-secondary);
}

.slswma-overview-text p:last-child {
    margin-bottom: 0;
}

.slswma-overview-subtitle {
    color: var(--slswma-primary);
    font-size: 1.375rem;
    font-weight: 600;
    margin: 24px 0 12px 0;
}

.slswma-overview-section-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.slswma-overview-section-item:last-child {
    margin-bottom: 0;
}

.slswma-overview-number {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--slswma-primary), var(--slswma-secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.125rem;
}

.slswma-overview-section-content {
    flex: 1;
}

.slswma-overview-section-content h5 {
    margin: 0 0 12px 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--slswma-text-primary);
}

.slswma-overview-section-content p {
    margin: 0 0 12px 0;
    line-height: 1.7;
    color: var(--slswma-text-secondary);
}

.slswma-overview-section-content ul {
    margin: 0;
    padding-left: 20px;
    list-style-type: disc;
}

.slswma-overview-section-content ul li {
    margin-bottom: 10px;
    line-height: 1.7;
    color: var(--slswma-text-secondary);
}

/* Modal Styles */
.slswma-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    animation: fadeIn 0.3s ease forwards;
}





.slswma-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.slswma-modal.hide {
    animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.slswma-modal-content {
    background-color: var(--slswma-surface);
    padding: 0;
    border-radius: 16px;
    box-shadow: var(--slswma-shadow-4);
    max-width: 900px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.slswma-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    box-shadow: var(--slswma-shadow-1);
}

.slswma-modal-close:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: var(--slswma-shadow-2);
}

.slswma-modal-close .material-icons {
    color: var(--slswma-text-primary);
    font-size: 24px;
}

.slswma-modal-body {
    display: flex;
    gap: 40px;
    padding: 40px;
}

.slswma-modal-image {
    flex: 0 0 350px;
    min-height: 350px;
}

.slswma-modal-placeholder {
    width: 100%;
    height: 350px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    box-shadow: var(--slswma-shadow-2);
}

.slswma-modal-img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: var(--slswma-shadow-2);
}

.bulk-scheduled-placeholder {
    background: linear-gradient(135deg, #FF8C42 0%, #FFB88C 100%);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 350"><rect width="400" height="350" fill="%23FF8C42" opacity="0.1"/><rect x="80" y="100" width="90" height="120" fill="rgba(34,170,134,0.2)" rx="5"/><rect x="230" y="120" width="90" height="100" fill="rgba(34,170,134,0.2)" rx="5"/><circle cx="125" cy="240" r="20" fill="rgba(34,170,134,0.2)"/><circle cx="275" cy="240" r="20" fill="rgba(34,170,134,0.2)"/><path d="M 100 100 L 120 60 L 140 100" fill="rgba(255,255,255,0.2)"/><path d="M 250 120 L 270 70 L 290 120" fill="rgba(255,255,255,0.2)"/></svg>');
    background-blend-mode: overlay;
}

.bulk-request-placeholder {
    background: linear-gradient(135deg, #FF6B9D 0%, #FFB6D9 100%);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 350"><rect width="400" height="350" fill="%23FF6B9D" opacity="0.1"/><circle cx="200" cy="100" r="30" fill="rgba(34,170,134,0.2)"/><path d="M 200 60 L 200 140 M 170 100 L 230 100" stroke="rgba(34,170,134,0.3)" stroke-width="3" stroke-linecap="round"/><rect x="100" y="160" width="200" height="120" fill="rgba(255,255,255,0.2)" rx="8"/><line x1="120" y1="190" x2="280" y2="190" stroke="rgba(34,170,134,0.2)" stroke-width="2"/><line x1="120" y1="220" x2="280" y2="220" stroke="rgba(34,170,134,0.2)" stroke-width="2"/><line x1="120" y1="250" x2="280" y2="250" stroke="rgba(34,170,134,0.2)" stroke-width="2"/></svg>');
    background-blend-mode: overlay;
}

.bulk-dropoff-placeholder {
    background: linear-gradient(135deg, #4ECDC4 0%, #A8E6E1 100%);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 350"><rect width="400" height="350" fill="%234ECDC4" opacity="0.1"/><rect x="60" y="120" width="80" height="100" fill="rgba(34,170,134,0.2)" rx="5"/><rect x="160" y="110" width="80" height="110" fill="rgba(34,170,134,0.2)" rx="5"/><rect x="260" y="130" width="80" height="90" fill="rgba(34,170,134,0.2)" rx="5"/><path d="M 100 220 L 100 260 L 80 280 L 320 280 L 300 260 L 300 220" fill="rgba(255,255,255,0.2)" rx="5"/><circle cx="100" cy="280" r="8" fill="rgba(34,170,134,0.3)"/><circle cx="200" cy="290" r="8" fill="rgba(34,170,134,0.3)"/><circle cx="300" cy="280" r="8" fill="rgba(34,170,134,0.3)"/></svg>');
    background-blend-mode: overlay;
}









.bio-scheduled-placeholder {
    background: linear-gradient(135deg, #667EEA 0%, #9FC6FF 100%);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 350"><rect width="400" height="350" fill="%23667EEA" opacity="0.1"/><rect x="90" y="60" width="220" height="40" fill="rgba(34,170,134,0.2)" rx="5"/><line x1="110" y1="80" x2="150" y2="80" stroke="rgba(34,170,134,0.3)" stroke-width="2"/><line x1="250" y1="80" x2="290" y2="80" stroke="rgba(34,170,134,0.3)" stroke-width="2"/><rect x="80" y="120" width="240" height="140" fill="rgba(255,255,255,0.2)" rx="8"/><circle cx="120" cy="160" r="8" fill="rgba(34,170,134,0.3)"/><circle cx="200" cy="160" r="8" fill="rgba(34,170,134,0.3)"/><circle cx="280" cy="160" r="8" fill="rgba(34,170,134,0.3)"/><path d="M 100 190 L 300 190 M 100 220 L 300 220 M 100 250 L 300 250" stroke="rgba(34,170,134,0.2)" stroke-width="1"/></svg>');
    background-blend-mode: overlay;
}

.bio-emergency-placeholder {
    background: linear-gradient(135deg, #FF4757 0%, #FF7675 100%);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 350"><rect width="400" height="350" fill="%23FF4757" opacity="0.1"/><circle cx="200" cy="120" r="45" fill="rgba(34,170,134,0.2)"/><path d="M 200 75 L 200 165 M 155 120 L 245 120" stroke="rgba(255,255,255,0.3)" stroke-width="4" stroke-linecap="round"/><path d="M 130 240 L 270 240 Q 270 280 200 300 Q 130 280 130 240" fill="rgba(34,170,134,0.2)"/><circle cx="160" cy="260" r="5" fill="rgba(255,255,255,0.2)"/><circle cx="200" cy="270" r="5" fill="rgba(255,255,255,0.2)"/><circle cx="240" cy="260" r="5" fill="rgba(255,255,255,0.2)"/></svg>');
    background-blend-mode: overlay;
}

.bio-contract-placeholder {
    background: linear-gradient(135deg, #2C3E50 0%, #546E7A 100%);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 350"><rect width="400" height="350" fill="%232C3E50" opacity="0.1"/><rect x="80" y="70" width="240" height="50" fill="rgba(34,170,134,0.2)" rx="5"/><text x="200" y="100" font-size="18" fill="rgba(34,170,134,0.3)" text-anchor="middle">Contract Service</text><rect x="100" y="140" width="200" height="150" fill="rgba(255,255,255,0.1)" rx="8" stroke="rgba(34,170,134,0.2)" stroke-width="2"/><line x1="120" y1="170" x2="280" y2="170" stroke="rgba(34,170,134,0.2)" stroke-width="1.5"/><line x1="120" y1="200" x2="280" y2="200" stroke="rgba(34,170,134,0.2)" stroke-width="1.5"/><line x1="120" y1="230" x2="280" y2="230" stroke="rgba(34,170,134,0.2)" stroke-width="1.5"/><line x1="120" y1="260" x2="280" y2="260" stroke="rgba(34,170,134,0.2)" stroke-width="1.5"/></svg>');
    background-blend-mode: overlay;
}

.slswma-modal-description {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.slswma-modal-description h3 {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--slswma-primary);
    margin: 0 0 16px 0;
}

.slswma-modal-description p {
    color: var(--slswma-text-secondary);
    line-height: 1.8;
    margin: 0 0 16px 0;
}

.slswma-modal-description h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--slswma-tertiary);
    margin: 20px 0 12px 0;
}

.slswma-modal-description ul {
    margin: 0 0 16px 0;
    padding-left: 24px;
    list-style-type: disc;
}

.slswma-modal-description ul li {
    color: var(--slswma-text-secondary);
    margin-bottom: 10px;
    line-height: 1.6;
}

/* Responsive Modal */
@media (max-width: 768px) {
    .slswma-modal-body {
        flex-direction: column;
        gap: 24px;
        padding: 24px;
    }
    
    .slswma-modal-image {
        flex: none;
        width: 100%;
        min-height: 250px;
    }
    
    .slswma-modal-placeholder {
        height: 250px;
    }
    
    .slswma-modal-description h3 {
        font-size: 1.5rem;
    }
    
    .slswma-modal-content {
        width: 95%;
        max-height: 90vh;
    }
}

@media (max-width: 480px) {
    .slswma-modal-body {
        padding: 16px;
        gap: 16px;
    }
    
    .slswma-modal-placeholder {
        height: 200px;
    }
    
    .slswma-modal-description h3 {
        font-size: 1.25rem;
    }
    
    .slswma-modal-close {
        width: 36px;
        height: 36px;
    }
}

.slswma-overview-section-content ul li:last-child {
    margin-bottom: 0;
}

.slswma-overview-section-content ul li strong {
    color: var(--slswma-text-primary);
    font-weight: 600;
}

.slswma-nested-list {
    margin-top: 8px;
    padding-left: 20px;
    list-style-type: circle;
}

.slswma-nested-list li {
    margin-bottom: 6px;
}

@keyframes fadeInOverview {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive adjustments for overview */
@media (max-width: 768px) {
    .slswma-overview-toggle {
        padding: 20px;
    }
    
    .slswma-overview-toggle-content {
        gap: 12px;
    }
    
    .slswma-overview-icon {
        width: 40px;
        height: 40px;
    }
    
    .slswma-overview-icon .material-icons {
        font-size: 20px;
    }
    
    .slswma-overview-header-text h3 {
        font-size: 1.125rem;
    }
    
    .slswma-overview-text {
        padding: 0 20px 20px 20px;
    }
    
    .slswma-overview-subtitle {
        font-size: 1.25rem;
    }
    
    .slswma-overview-section-item {
        gap: 12px;
    }
    
    .slswma-overview-number {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .slswma-overview-section-content h5 {
        font-size: 1.0625rem;
    }
}

@media (max-width: 480px) {
    .slswma-overview-toggle {
        padding: 16px;
    }
    
    .slswma-overview-header-text h3 {
        font-size: 1rem;
    }
    
    .slswma-overview-hint {
        font-size: 0.75rem;
    }
    
    .slswma-overview-text {
        padding: 0 16px 16px 16px;
    }
    
    .slswma-overview-text p {
        font-size: 0.9375rem;
    }
    
    .slswma-overview-subtitle {
        font-size: 1.125rem;
        margin: 20px 0 10px 0;
    }
    
    .slswma-overview-section-item {
        gap: 10px;
        margin-bottom: 20px;
    }
    
    .slswma-overview-number {
        width: 28px;
        height: 28px;
        font-size: 0.9375rem;
    }
    
    .slswma-overview-section-content h5 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .slswma-overview-section-content p,
    .slswma-overview-section-content ul li {
        font-size: 0.9375rem;
    }
    
    .slswma-overview-section-content ul {
        padding-left: 16px;
    }
    
    .slswma-nested-list {
        padding-left: 16px;
    }
}

/* Coming Soon Modal Styles */
.slswma-coming-soon-modal .slswma-modal-body {
    flex-direction: column;
    text-align: center;
    gap: 24px;
    padding: 48px 32px;
}

.slswma-coming-soon-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--slswma-primary), var(--slswma-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: var(--slswma-shadow-3);
}

.slswma-coming-soon-icon .material-icons {
    color: white;
    font-size: 48px;
}

.slswma-coming-soon-modal .slswma-modal-description {
    flex: none;
    align-items: center;
}

.slswma-coming-soon-modal .slswma-modal-description h3 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 20px;
}

.slswma-coming-soon-modal .slswma-modal-description p {
    font-size: 1.125rem;
    text-align: center;
    max-width: 600px;
    margin-bottom: 24px;
}

.slswma-coming-soon-features {
    background: var(--slswma-surface-variant);
    border-radius: 12px;
    padding: 24px;
    margin: 24px 0;
    text-align: left;
    width: 100%;
    max-width: 500px;
}

.slswma-coming-soon-features h4 {
    color: var(--slswma-primary);
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 1.25rem;
}

.slswma-coming-soon-features ul {
    padding-left: 20px;
    margin: 0;
}

.slswma-coming-soon-features ul li {
    margin-bottom: 12px;
    color: var(--slswma-text-secondary);
    line-height: 1.6;
}

.slswma-coming-soon-footer {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--slswma-outline);
    width: 100%;
    max-width: 500px;
}

.slswma-coming-soon-footer p {
    font-style: italic;
    color: var(--slswma-text-secondary);
    margin: 0;
    font-size: 1rem;
}

/* Responsive for Coming Soon Modals */
@media (max-width: 768px) {
    .slswma-coming-soon-modal .slswma-modal-body {
        padding: 32px 24px;
    }
    
    .slswma-coming-soon-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }
    
    .slswma-coming-soon-icon .material-icons {
        font-size: 36px;
    }
    
    .slswma-coming-soon-modal .slswma-modal-description h3 {
        font-size: 1.75rem;
    }
    
    .slswma-coming-soon-modal .slswma-modal-description p {
        font-size: 1rem;
    }
    
    .slswma-coming-soon-features {
        padding: 20px;
        margin: 20px 0;
    }
    
    .slswma-coming-soon-features h4 {
        font-size: 1.125rem;
    }
}

@media (max-width: 480px) {
    .slswma-coming-soon-modal .slswma-modal-body {
        padding: 24px 16px;
    }
    
    .slswma-coming-soon-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 16px;
    }
    
    .slswma-coming-soon-icon .material-icons {
        font-size: 32px;
    }
    
    .slswma-coming-soon-modal .slswma-modal-description h3 {
        font-size: 1.5rem;
    }
    
    .slswma-coming-soon-modal .slswma-modal-description p {
        font-size: 0.9375rem;
    }
    
    .slswma-coming-soon-features {
        padding: 16px;
        margin: 16px 0;
    }
    
    .slswma-coming-soon-features h4 {
        font-size: 1rem;
    }
    
    .slswma-coming-soon-features ul li {
        font-size: 0.9375rem;
        margin-bottom: 10px;
    }
    
    .slswma-coming-soon-footer p {
        font-size: 0.9375rem;
    }
}
