@import url("../vendor/bootstrap/bootstrap.min.css");
@import url("../vendor/bootstrap-icons/font/bootstrap-icons.min.css");
@import url("fonts.css"); /* 300 400 600 700 */
@import url('components.css');

/* ---------------------------------------------------------------------
    CONFIGURATION
------------------------------------------------------------------------ */

:root {
    /* Main Palette */
    --primary: #0F4C81;
    --primary-dark: #0c3c66;
    --primary-light: #4A6FA5;
    --highlight: #9DC3D4; 
    
    /* Interface */
    --surface: #ffffff3f;
    --app-bg: #f0f0f0;
    --border: #e6e6e6;
    
    /* Text States */
    --text-main: #333333;
    --text-muted: #6c757d;
    --text-on-primary: #ffffff; 
    
    /* Feedback */
    --danger: #d9534f;
    --success: #28a745;

    /* Layout Constants */
    --font-main: 'Montserrat', sans-serif;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    --red: #881f1b;
    --yellow: #92400e;
    --green: #03543f;
    --blue: #0c3c66;

    --bg-red: #fde2e2;
    --bg-yellow: #fef3c7;
    --bg-green: #def7ec;
    --bg-blue: #dce8fa;
}

html,
body{
    height: 100%;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--app-bg);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
}

/* ---------------------------------------------------------------------
    TYPOGRAPHY
------------------------------------------------------------------------ */

.text-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.text-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-light);
    line-height: 1.3;
}

.text-body {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-main);
}

.text-muted-custom {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.text-brand { 
    color: var(--primary); 
}

.font-bold { 
    font-weight: 700; 
}

.font-medium { 
    font-weight: 500; 
}

/* ---------------------------------------------------------------------
    COLORS & BACKGROUNDS
------------------------------------------------------------------------ */

.bg-brand {
    background-color: var(--primary) !important;
}

.bg-brand-dark {
    background-color: var(--primary-dark) !important;
}

.bg-app { 
    background-color: var(--app-bg); 
}

.bg-surface { 
    background-color: var(--surface); 
}

.text-on-primary { 
    color: var(--text-on-primary); 
}

.bg-highlight{ 
    background-color: var(--highlight); 
}

/* ---------------------------------------------------------------------
    UTILITIES
------------------------------------------------------------------------ */
.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.left {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.right-self {
    display: block;
    margin-left: auto;
}

.left-self {
    display: block;
    margin-right: auto;
}

.w-50px { 
    width: 50px !important; 
}

.h-50px { 
    height: 50px !important; 
}