/**
 * Support Card Component Styles
 * 
 * This CSS file styles the support card component which provides users with
 * additional help options when they need assistance with orders or purchases.
 * 
 * @package ComputerVariations
 */

/* 
 * Container for the support card section
 * This provides proper spacing and alignment for the entire section
 * following the theme's established pattern for section containers
 */
.component-container {
    padding: var(--space-xl) 0;
    width: 100%;
}

/* 
 * Support Card
 * This component provides a consistent help/support area that can be used across pages.
 * It offers contact options for users who need additional assistance.
 * Using the light blue background from the mockup with proper styling.
 */
.support-card {
    background-color: var(--color-primary-light); /* Using light blue background from mockup */
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-xl); /* Increased gap between content and actions */
    max-width: 800px;
    margin: 0 auto;
    border-radius: var(--border-radius-md);
    padding: var(--space-xxl); /* Increased padding to match mockup */
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

/* Hover state for the support card to add subtle depth enhancement */
.support-card:hover {
    box-shadow: var(--shadow-lg);
}

/* 
 * Content container for the support card's text elements
 * This establishes the proper flex layout for the text content
 */
.support-card__content {
    flex: 1;
    min-width: 200px;
}

/* 
 * Heading styling for the support card
 * Using font variables to maintain typography consistency
 */
.support-card__content h3 {
    color: var(--dark-gray); /* Using dark gray/black as shown in mockup */
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-sm);
    font-weight: var(--font-weight-semibold);
}

/* 
 * Text styling for the support card's paragraph
 * Using the theme's established text styling patterns
 */
.support-card__text {
    color: var(--dark-gray); /* As shown in mockup */
    margin-bottom: 0;
    font-size: var(--font-size-base);
}

/* 
 * Actions container for the support card's buttons
 * Maintains consistent spacing between action buttons
 */
.support-card__actions {
    display: flex;
    gap: var(--space-md);
}

/* 
 * Specific styling for buttons within the support card
 * Ensuring they match exactly what's shown in the mockup
 */
.support-card__actions .btn {
    padding: var(--space-sm) var(--space-lg);
    font-weight: var(--font-weight-medium);
}

/* Contact Support button - primary blue in mockup */
.support-card__actions .btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Return to Shop button - outline style in mockup */
.support-card__actions .btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

/* 
 * Responsive styles for support card
 * Adjusts layout for mobile devices while maintaining usability
 */
@media (max-width: 768px) {
    .support-card {
        flex-direction: column;
        align-items: flex-start;
        padding: var(--space-lg);
    }
    
    .support-card__content {
        margin-bottom: var(--space-lg);
    }
    
    .support-card__actions {
        width: 100%;
    }
    
    .support-card__actions .btn {
        flex: 1;
        text-align: center;
    }
}
