/*
Theme Name: Astra Child 
Theme URI: https://sheltergenius.com/
Description: Astra Child Theme built for Shelter Genius
Author: Antigravity
Author URI: https://sheltergenius.com/
Template: astra
Version: 1.0.0
Text Domain: astra-child
*/

/* ==========================================================================
   Astra Scroll To Top Button Fixes (Tailwind Preflight Conflict)
   ========================================================================== */

#ast-scroll-top {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 9999px !important; /* Perfect circle */
    width: 3.5rem !important;
    height: 3.5rem !important;
    background-color: #F97316 !important; /* High contrast brand-orange */
    color: white !important;
    border: 3px solid rgba(255, 255, 255, 0.9) !important; /* Distinct white edge for dark backgrounds */
    box-shadow: 0 10px 25px -5px rgba(249, 115, 22, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.3) !important; /* Dynamic glow */
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    padding: 0 !important;
    bottom: 2rem !important;
    right: 2rem !important;
    z-index: 100 !important;
}

#ast-scroll-top:hover {
    background-color: #EA580C !important; /* Darker orange on hover */
    transform: translateY(-5px) scale(1.05) !important;
    box-shadow: 0 20px 25px -5px rgba(249, 115, 22, 0.5), 0 15px 15px -5px rgba(0, 0, 0, 0.2) !important;
    border-color: white !important;
}

#ast-scroll-top .ast-icon.icon-arrow {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
}

#ast-scroll-top svg {
    margin: 0 !important;
    padding: 0 !important;
    transform: translateY(-1px) rotate(180deg) !important; /* Point the arrow UP */
    fill: currentColor !important;
    width: 1.25rem !important;
    height: 1.25rem !important;
}
