/**
 * Global UI styles for all agent templates.
 * Ensures visual consistency across components:
 *   - Splide sliders (arrows, pagination dots)
 *   - <select> dropdowns
 *   - Focus rings
 *
 * Auto-loaded by template-loader hooks for birthday + camp templates.
 * DO NOT duplicate these styles in individual components.
 *
 * @since 0.18.2
 */

/* ==========================================================================
   SPLIDE — arrows + pagination (global)
   ========================================================================== */

/* Arrows: white circle, shadow, green on hover */
.splide__arrow {
    background: #FFFFFF !important;
    box-shadow: 0 4px 16px rgba(15,23,42,0.10) !important;
    border: 1px solid #DEE2E8 !important;
    width: 44px !important;
    height: 44px !important;
    opacity: 1 !important;
    border-radius: 50% !important;
    transition: background 0.2s, border-color 0.2s !important;
}
.splide__arrow svg {
    fill: #1A1F26 !important;
    width: 18px !important;
    height: 18px !important;
    transition: fill 0.15s ease !important;
}
.splide__arrow:hover {
    background: #00BF63 !important;
    border-color: #00BF63 !important;
}
.splide__arrow:hover svg {
    fill: #FFFFFF !important;
}
.splide__arrow:disabled {
    opacity: 0.35 !important;
    cursor: default !important;
}
.splide__arrow--prev {
    left: -4px !important;
}
.splide__arrow--next {
    right: -4px !important;
}

/* Pagination dots: grey, green when active */
.splide__pagination {
    bottom: -28px !important;
}
.splide__pagination__page {
    background: #DEE2E8 !important;
    width: 10px !important;
    height: 10px !important;
    margin: 0 4px !important;
    border-radius: 50% !important;
    border: none !important;
    transition: transform 0.15s ease, background 0.15s ease !important;
}
.splide__pagination__page.is-active {
    background: #00BF63 !important;
    transform: scale(1.3) !important;
}


/* ==========================================================================
   SELECT dropdowns — styled to match site design
   ========================================================================== */

/* Agent template selects */
.rc-camp-cards__filter,
.rc-day-modal select,
.rc-bp select,
.rc-camp-landing select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    font-family: 'ProximaNova', 'Proxima Nova', 'Noto Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: #333 !important;
    background-color: #fff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 12px !important;
    padding: 10px 36px 10px 14px !important;
    border: 1.5px solid #e0e0e0 !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    min-width: 140px !important;
    transition: border-color 0.2s, box-shadow 0.2s !important;
    outline: none !important;
}
.rc-camp-cards__filter:hover,
.rc-camp-landing select:hover,
.rc-bp select:hover {
    border-color: #00BF63 !important;
}
.rc-camp-cards__filter:focus,
.rc-camp-landing select:focus,
.rc-bp select:focus {
    border-color: #00BF63 !important;
    box-shadow: 0 0 0 3px rgba(0,191,99,0.12) !important;
}


/* ==========================================================================
   FOCUS rings — consistent green
   ========================================================================== */

.rc-camp-landing input:focus,
.rc-camp-landing textarea:focus,
.rc-bp input:focus,
.rc-bp textarea:focus {
    outline: none !important;
    border-color: #00BF63 !important;
    box-shadow: 0 0 0 3px rgba(0,191,99,0.10) !important;
}
