﻿/**
 * WYROAI Icon Overrides â€” v4 HubSpot Edition
 * Solid orange background (#FF5C35) + white SVG icons.
 * Applies globally to every .wyroai-icon across all pages.
 */

/* â”€â”€ Base icon box â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.wyroai-icon {
    width: 52px !important;
    height: 52px !important;
    min-width: 52px !important;
    background: #FF5C35 !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 1.25rem !important;
    flex-shrink: 0 !important;
    transition: background 0.2s ease !important;
}

.wyroai-card:hover .wyroai-icon {
    background: #E04A25 !important;
}

/* â”€â”€ All SVG inside icon boxes â†’ white â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.wyroai-icon svg {
    width: 24px !important;
    height: 24px !important;
    stroke: #FFFFFF !important;
    fill: none !important;
    stroke-width: 2 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
    display: block !important;
}

/* Ensure no child element overrides white stroke */
.wyroai-icon svg *,
.wyroai-icon svg path,
.wyroai-icon svg line,
.wyroai-icon svg polyline,
.wyroai-icon svg polygon,
.wyroai-icon svg circle,
.wyroai-icon svg rect {
    stroke: #FFFFFF !important;
    fill: none !important;
}

/* â”€â”€ Pseudo-element fallback (only for EMPTY icon boxes â€” pain point cards) */
.wyroai-icon::before {
    content: "" !important;
    display: block !important;
    width: 26px !important;
    height: 26px !important;
    background-size: 26px 26px !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
}

/* â”€â”€ KEY FIX: hide ::before when an inline SVG is already present â”€â”€ */
/* Cards with inline <svg> (solution cards, feature cards, etc.) */
.wyroai-icon:has(svg)::before {
    display: none !important;
    content: none !important;
    background-image: none !important;
}

/* Card 1 â€” Clock */
.wyroai-card:nth-child(1) .wyroai-icon::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='12 6 12 12 16 14'/%3E%3C/svg%3E") !important;
}

/* Card 2 â€” Dollar */
.wyroai-card:nth-child(2) .wyroai-icon::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='12' y1='1' x2='12' y2='23'/%3E%3Cpath d='M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6'/%3E%3C/svg%3E") !important;
}

/* Card 3 â€” Warning */
.wyroai-card:nth-child(3) .wyroai-icon::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z'/%3E%3Cline x1='12' y1='9' x2='12' y2='13'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E") !important;
}

/* Card 4 â€” Users */
.wyroai-card:nth-child(4) .wyroai-icon::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3Cpath d='M23 21v-2a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 3.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E") !important;
}

/* Card 5 â€” Checkbox */
.wyroai-card:nth-child(5) .wyroai-icon::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='9 11 12 14 22 4'/%3E%3Cpath d='M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11'/%3E%3C/svg%3E") !important;
}

/* Card 6 â€” Document */
.wyroai-card:nth-child(6) .wyroai-icon::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3C/svg%3E") !important;
}

