/* ============================================================
   DISHA App Color System v1.0 - shared color tokens
   Source: DISHA_App_Color_System.pdf (App-wide Color System)

   Defines the full brand/neutral/semantic palette as CSS custom
   properties, plus the spec's named gradients, so every screen draws
   from one source instead of scattered one-off hex values.
   ============================================================ */

:root {
    /* Brand - Navy */
    --color-navy-900: #082B6F;
    --color-navy-800: #0D3B8E; /* primary brand navy */
    --color-navy-700: #174B9F;

    /* Brand - Blue */
    --color-blue-700: #1157B8; /* pressed */
    --color-blue-600: #1769D2; /* primary action */
    --color-blue-500: #2584E8; /* hover/highlight */
    --color-sky-400:  #32AEEF;
    --color-sky-200:  #BFEAFF;

    /* Brand - Orange */
    --color-orange-700: #D95F00; /* pressed */
    --color-orange-600: #F47B20; /* icon/emphasis */
    --color-orange-500: #FF8A1F; /* primary orange accent */
    --color-orange-400: #FFA94D; /* soft highlight */

    /* Gradients */
    --gradient-header:      linear-gradient(135deg, #0D3B8E, #1769D2);
    --gradient-primary-cta: linear-gradient(135deg, #1769D2, #0D3B8E);
    --gradient-opportunity: linear-gradient(135deg, #FF9A2E, #FF7417);
    --gradient-promo:       linear-gradient(135deg, #102C72, #254BA8);

    /* Text */
    --color-text-strong:    #142F72;
    --color-text-primary:   #344054;
    --color-text-secondary: #667085;
    --color-text-muted:     #7C8799;
    --color-text-disabled:  #A8B1C1;

    /* Borders */
    --color-border-strong:  #D5DCE7;
    --color-border-default: #E7EBF1;

    /* Surfaces */
    --color-bg-app:      #F6F8FC; /* Level 0 */
    --color-surface:     #FFFFFF; /* Level 1 */
    --color-surface-alt: #F9FAFC; /* Level 2 */
    --color-tint-blue:   #EEF6FF; /* selected/active tint */
    --color-tint-orange: #FFF2DF; /* opportunity tint */

    /* Semantic */
    --color-success: #1E9E63;
    --color-warning: #D97706;
    --color-error:   #E5484D;
    --color-info:    #2E90FA;
    --color-success-bg: #EAF8F1;
    --color-warning-bg: #FFF7E7;
    --color-error-bg:   #FDEEEF;
    --color-info-bg:    #EAF3FF;

    /* Aliases matching the PDF's own token names (page 10), for
       parts of the app wired up against those exact names */
    --color-brand-navy: var(--color-navy-800);
    --color-brand-blue: var(--color-blue-600);
    --color-brand-sky: var(--color-sky-400);
    --color-brand-orange: var(--color-orange-500);
    --color-focus: var(--color-blue-600);
    --color-border: var(--color-border-default);
}
