/* ==========================================================================
   Reviews Sorted - Layout Framework (v8.0)
   ========================================================================== */

.rs-layout-app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--rs-bg-surface); /* Pure premium feel */
}

.rs-layout-body {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.rs-layout-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: var(--rs-space-8) clamp(var(--rs-space-6), 5vw, var(--rs-space-12));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background-color: var(--rs-bg-surface);
}

@media (max-width: 991.98px) {
    .rs-layout-main {
        padding: var(--rs-space-6) var(--rs-space-4);
    }
}

/* ==========================================================================
   Authentication Layouts
   ========================================================================== */

.rs-auth-layout {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--rs-bg-app);
    padding: var(--rs-space-4);
}

.rs-auth-card {
    width: 100%;
    max-width: 440px;
    padding: var(--rs-space-8);
    box-shadow: var(--rs-shadow-lg);
    border: 1px solid rgba(0,0,0,0.04);
}

.rs-auth-header {
    text-align: center;
    margin-bottom: var(--rs-space-8);
}

.rs-auth-title {
    font-size: var(--rs-font-size-2xl);
    font-weight: 800;
    color: var(--rs-primary);
    margin-bottom: var(--rs-space-2);
    letter-spacing: -0.02em;
}

.rs-auth-subtitle {
    font-size: var(--rs-font-size-sm);
    color: var(--rs-text-muted);
    font-weight: 500;
}

.rs-auth-link {
    font-size: var(--rs-font-size-sm);
    font-weight: 600;
    color: var(--rs-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.rs-auth-link:hover {
    color: var(--rs-primary-dark);
    text-decoration: underline;
}

@media (max-width: 575.98px) {
    .rs-auth-card {
        padding: var(--rs-space-6) var(--rs-space-4);
        box-shadow: var(--rs-shadow-sm);
    }
}

 
 / *   = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
       A l e r t s   &   F l a s h   M e s s a g e s   ( P r e m i u m   S a a S   O v e r r i d e s ) 
       = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =   * / 
 
 . a l e r t   { 
         p a d d i n g :   v a r ( - - r s - s p a c e - 4 )   v a r ( - - r s - s p a c e - 5 ) ; 
         m a r g i n - b o t t o m :   v a r ( - - r s - s p a c e - 6 ) ; 
         b o r d e r :   1 p x   s o l i d   t r a n s p a r e n t ; 
         b o r d e r - r a d i u s :   v a r ( - - r s - r a d i u s - m d ) ; 
         f o n t - s i z e :   v a r ( - - r s - f o n t - s i z e - s m ) ; 
         f o n t - w e i g h t :   5 0 0 ; 
         d i s p l a y :   f l e x ; 
         a l i g n - i t e m s :   c e n t e r ; 
         b o x - s h a d o w :   v a r ( - - r s - s h a d o w - s m ) ; 
 } 
 
 . a l e r t - s u c c e s s   { 
         b a c k g r o u n d - c o l o r :   r g b a ( 1 6 ,   1 8 5 ,   1 2 9 ,   0 . 1 ) ; 
         b o r d e r - c o l o r :   r g b a ( 1 6 ,   1 8 5 ,   1 2 9 ,   0 . 2 ) ; 
         c o l o r :   # 0 6 5 f 4 6 ; 
 } 
 
 . a l e r t - d a n g e r   { 
         b a c k g r o u n d - c o l o r :   r g b a ( 2 3 9 ,   6 8 ,   6 8 ,   0 . 1 ) ; 
         b o r d e r - c o l o r :   r g b a ( 2 3 9 ,   6 8 ,   6 8 ,   0 . 2 ) ; 
         c o l o r :   # 9 9 1 b 1 b ; 
 } 
 
 . a l e r t - w a r n i n g   { 
         b a c k g r o u n d - c o l o r :   r g b a ( 2 4 5 ,   1 6 6 ,   3 5 ,   0 . 1 ) ; 
         b o r d e r - c o l o r :   r g b a ( 2 4 5 ,   1 6 6 ,   3 5 ,   0 . 2 ) ; 
         c o l o r :   # 9 a 6 5 0 0 ; 
 } 
 
 . a l e r t - i n f o   { 
         b a c k g r o u n d - c o l o r :   r g b a ( 5 9 ,   1 3 0 ,   2 4 6 ,   0 . 1 ) ; 
         b o r d e r - c o l o r :   r g b a ( 5 9 ,   1 3 0 ,   2 4 6 ,   0 . 2 ) ; 
         c o l o r :   # 1 e 4 0 a f ; 
 } 
 
 . a l e r t   . c l o s e   { 
         m a r g i n - l e f t :   a u t o ; 
         f o n t - s i z e :   v a r ( - - r s - f o n t - s i z e - l g ) ; 
         f o n t - w e i g h t :   7 0 0 ; 
         l i n e - h e i g h t :   1 ; 
         c o l o r :   i n h e r i t ; 
         t e x t - s h a d o w :   n o n e ; 
         o p a c i t y :   0 . 5 ; 
         b a c k g r o u n d :   t r a n s p a r e n t ; 
         b o r d e r :   0 ; 
         c u r s o r :   p o i n t e r ; 
         t r a n s i t i o n :   o p a c i t y   0 . 2 s   e a s e ; 
 } 
 
 . a l e r t   . c l o s e : h o v e r   { 
         o p a c i t y :   1 ; 
 } 
  
 