
.comm-grid {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 20px;
}

.duration-grid {
    display: grid;
    grid-template-columns:repeat(2, 1fr);
    gap: 20px;
}

/* Direct booking indicator */
.direct-booking-indicator {
    background: #e3f2fd;
    border: 1px solid #2196f3;
    /*border-radius: 6px;*/
    padding: 12px 16px;
    margin: 16px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1565c0;
    font-size: 14px;
}

.direct-booking-indicator.hidden {
    display: none;
}

.direct-booking-indicator i {
    color: #1976d2;
}

.direct-booking-indicator strong {
    color: #0d47a1;
}

/* No services error styling */
.no-services-error {
    background: #fff3e0;
    border: 2px solid #ff9800;
    /*border-radius: 8px;*/
    padding: 24px;
    margin: 20px 0;
    text-align: center;
}

.no-services-error .error-icon {
    color: #ff9800;
    font-size: 48px;
    margin-bottom: 16px;
}

.no-services-error h3 {
    color: #e65100;
    margin-bottom: 16px;
    font-size: 24px;
}

.no-services-error p {
    color: #bf360c;
    margin-bottom: 20px;
    line-height: 1.5;
}

.no-services-error .error-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 16px;
}

.no-services-error .btn {
    padding: 10px 16px;
    border: none;
    /*border-radius: 4px;*/
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.no-services-error .btn-primary {
    background: #2196f3;
    color: white;
}

.no-services-error .btn-primary:hover {
    background: #1976d2;
}

.no-services-error .btn-secondary {
    background: #fff;
    color: #666;
    border: 1px solid #ddd;
}

.no-services-error .btn-secondary:hover {
    background: #f5f5f5;
    border-color: #999;
}

.no-services-error .error-help {
    font-size: 12px;
    color: #8d6e63;
    margin-bottom: 0;
}

/* Loading indicators */
.section-title.loading .loading-text {
    color: #999;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.4;
    }
}

.loading-card {
    border: 2px solid #eee;
    /*border-radius: 8px;*/
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    position: relative;
}

.communication-loading-card {
    padding: 22px;
    min-height: 150px;
}

.duration-loading-card {
    padding: 24px;
    min-height: 120px;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    /* Grid layouts - stack cards vertically on tablet */
    .comm-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .duration-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: none;
        margin: 0;
    }

    /* Loading cards responsive */
    .communication-loading-card {
        min-height: 120px;
        padding: 18px;
    }

    .duration-loading-card {
        min-height: 100px;
        padding: 20px;
    }

    /* Direct booking indicator responsive */
    .direct-booking-indicator {
        padding: 10px 14px;
        font-size: 13px;
        margin: 12px 0;
        /*border-radius: 8px;*/
    }

    /* No services error responsive */
    .no-services-error {
        padding: 20px;
        margin: 16px 0;
    }

    .no-services-error .error-icon {
        font-size: 36px;
        margin-bottom: 12px;
    }

    .no-services-error h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .no-services-error .error-actions {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }

    .no-services-error .btn {
        padding: 8px 14px;
        font-size: 13px;
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    /* Very small screens - hide images completely */
    .comm-grid {
        gap: 12px;
    }

    .duration-grid {
        gap: 12px;
        max-width: 100%;
    }

    /* Loading cards for small screens */
    .communication-loading-card {
        min-height: 80px;
        padding: 16px;
    }

    .duration-loading-card {
        min-height: 80px;
        padding: 16px;
    }

    /* Direct booking indicator for small screens */
    .direct-booking-indicator {
        padding: 8px 12px;
        font-size: 12px;
        margin: 10px 0;
        /*border-radius: 6px;*/
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .direct-booking-indicator i {
        display: none; /* Hide icon on very small screens */
    }

    /* No services error for small screens */
    .no-services-error {
        padding: 16px;
        margin: 12px 0;
    }

    .no-services-error .error-icon {
        font-size: 28px;
        margin-bottom: 8px;
    }

    .no-services-error h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .no-services-error p {
        margin-bottom: 16px;
        font-size: 14px;
    }

    .no-services-error .error-help {
        font-size: 11px;
    }
}

