/*================
    Reset, token and base layers are already in seprate file named d-core-base
Loaded inline with high priority
=======================*/

/* ============================================================
   4. LAYOUT LAYER
   - containers
   - sections
   - grids
   - stacks
============================================================ */

/*==========================
  Animations 


=================*/


        /* --- FADE IN (Simple Opacity) --- */
        
 @keyframes cf_fadeIn {
          from { opacity: 0; }
          to { opacity: 1; }
        }
        @-webkit-keyframes cf_fadeIn {
          from { opacity: 0; }
          to { opacity: 1; }
        }
        
        
        /* --- FADE IN UP (Slides from 10px below) --- */
        
        @keyframes cf_fadeInUp {
          from {
            opacity: 0;
            transform: translate3d(0, var(--cf-anim-offset), 0);
          }
          to {
            opacity: 1;
            transform: translateZ(0);
          }
        }
        @-webkit-keyframes cf_fadeInUp {
          from {
            opacity: 0;
            transform: translate3d(0, var(--cf-anim-offset), 0);
          }
          to {
            opacity: 1;
            transform: translateZ(0);
          }
        }
        /* --- FADE IN UP (Slides from 10px below) --- */
        
        @keyframes cf_fadeInDown {
          from {
            opacity: 0;
            transform: translate3d(0, calc(var(--cf-anim-offset) * -1), 0);
          }
          to {
            opacity: 1;
            transform: translateZ(0);
          }
        }
        @-webkit-keyframes cf_fadeInDown {
          from {
            opacity: 0;
            transform: translate3d(0, calc(var(--cf-anim-offset) * -1), 0);
          }
          to {
            opacity: 1;
            transform: translateZ(0);
          }
        }
        
        /* --- SLIDE IN LEFT (Slides from 10px to the right of final position) --- */
        
        @keyframes cf_slideInLeft {
          from {
            opacity: 0;
            transform: translate3d(var(--cf-anim-offset), 0, 0); 
          }
          to {
            opacity: 1;
            transform: translateZ(0);
          }
        }
        @-webkit-keyframes cf_slideInLeft {
          from {
            opacity: 0;
            transform: translate3d(var(--cf-anim-offset), 0, 0); 
          }
          to {
            opacity: 1;
            transform: translateZ(0);
          }
        }
        
        
        /* --- SLIDE IN RIGHT (Slides from 10px to the left of final position) --- */
        
        @keyframes cf_slideInRight {
          from {
            opacity: 0;
            transform: translate3d(calc(var(--cf-anim-offset) * -1), 0, 0); 
          }
          to {
            opacity: 1;
            transform: translateZ(0);
          }
        }
        @-webkit-keyframes cf_slideInRight {
          from {
            opacity: 0;
            transform: translate3d(calc(var(--cf-anim-offset) * -1), 0, 0); 
          }
          to {
            opacity: 1;
            transform: translateZ(0);
          }
        }
        
        /* --- SLIDE IN DOWN (Slides from 10px above) --- */
        
        @keyframes cf_slideInDown {
          from {
            opacity: 0;
            transform: translate3d(0, calc(var(--cf-anim-offset) * -1), 0); 
          }
          to {
            opacity: 1;
            transform: translateZ(0);
          }
        }
        @-webkit-keyframes cf_slideInDown {
          from {
            opacity: 0;
            transform: translate3d(0, calc(var(--cf-anim-offset) * -1), 0); 
          }
          to {
            opacity: 1;
            transform: translateZ(0);
          }
        }
        
        
        /* --- ZOOM IN (Subtle scale from 98%) --- */
        
        @keyframes cf_zoomIn {
          from {
            opacity: 0;
            transform: scale3d(0.98, 0.98, 0.98);
          }
          to {
            opacity: 1;
            transform: scale3d(1, 1, 1);
          }
        }
        @-webkit-keyframes cf_zoomIn {
          from {
            opacity: 0;
            transform: scale3d(0.98, 0.98, 0.98);
          }
          to {
            opacity: 1;
            transform: scale3d(1, 1, 1);
          }
        }
        
        
        /* ----------------------------------------------------------------------------------
           3. BRICKS ANIMATION OVERRIDES
           *** FIX: Added opacity: 1 !important; to force visibility after animation ends. ***
           ---------------------------------------------------------------------------------- */
        
        /* Fade In Override */
        .brx-body .brx-animate-fadeInbrx-animate-fadeIn {
          animation-name: cf_fadeIn;
          animation-duration: var(--cf-anim-speed);
          animation-timing-function: var(--cf-anim-ease);
          animation-fill-mode: both;
        }
        
        
        /* Fade In Up Override */
        .brx-body .brx-animate-fadeInUp.brx-animate-fadeInUp {
          animation-name: cf_fadeInUp;
          animation-duration: var(--cf-anim-speed);
          animation-timing-function: var(--cf-anim-ease);
          animation-fill-mode: both;
        }
        /* Fade In Up Override */
        .brx-body .brx-animate-fadeInDown.brx-animate-fadeInDown {
          animation-name: cf_fadeInDown;
          animation-duration: var(--cf-anim-speed);
          animation-timing-function: var(--cf-anim-ease);
          animation-fill-mode: both;
        }
        
        /* Slide In Left Override */
        .brx-body .brx-animate-slideInLeft.brx-animate-slideInLeft {
          animation-name: cf_slideInLeft;
          animation-duration: var(--cf-anim-speed);
          animation-timing-function: var(--cf-anim-ease);
          animation-fill-mode: both;
        }
        
        /* Slide In Right Override */
        .brx-body .brx-animate-slideInRight.brx-animate-slideInRight {
          animation-name: cf_slideInRight;
          animation-duration: var(--cf-anim-speed);
          animation-timing-function: var(--cf-anim-ease);
          animation-fill-mode: both;
         
        }
        
        /* Slide In Down Override */
        .brx-body .brx-animate-slideInDown.brx-animate-slideInDown {
          animation-name: cf_slideInDown;
          animation-duration: var(--cf-anim-speed);
          animation-timing-function: var(--cf-anim-ease);
          animation-fill-mode: both;
        }
        
        /* Zoom In Override */
        .brx-body .brx-animate-zoomIn.brx-animate-zoomIn {
          animation-name: cf_zoomIn;
          animation-duration: var(--cf-anim-speed);
          animation-timing-function: var(--cf-anim-ease);
          animation-fill-mode: both;
          
        }

    /* Reduce Animations- better for accessibility */
    @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }

/* ============================================================
    COMPONENTS LAYER
   - reusable UI elements
   - cards, buttons, badges, forms, navbars, etc.
============================================================ */
@layer components {


}
  
/* ============================================================
   . UTILITIES LAYER
   - spacing helpers
   - text helpers
   - flex helpers
   - alignment helpers
   - transform utilities
============================================================ */
@layer utilities {
    

}

/* ============================================================
   . Overrides LAYER
   - 
============================================================ */
@layer overrides{
    
}


