/* 
   Northone Traditional Enterprise Design System
   Classic, Authoritative, Secure
   Inspired by Major US Banks (Wells Fargo style)
*/

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:wght@400;700&family=Open+Sans:wght@400;600;700&display=swap');

:root {
    /* Brand Colors - Traditional */
    --brand-red: #d71e28;
    /* Deep Red - Primary Brand Color */
    --brand-gold: #ffcb05;
    /* Gold - Accent/Highlight */
    --brand-dark: #333333;
    /* Dark Grey for Text */
    --brand-grey: #5c5c5c;
    /* Medium Grey for subtext */
    --bg-light: #f4f0e9;
    /* Warm Beige/Grey Background (similar to reference) */
    --bg-white: #ffffff;

    /* Layout */
    --container-max: 1200px;
    --header-height: 40px;
    /* Top red bar */
    --nav-height: 50px;
    /* White link bar */

    /* Decoration */
    --border-radius-sm: 4px;
    /* Traditional = smaller radius */
    --border-radius-lg: 8px;
    --shadow-card: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-pop: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Base Reset & Typography */
body {
    font-family: 'Open Sans', Arial, sans-serif;
    /* Clean, standard sans-serif */
    color: var(--brand-dark);
    background-color: var(--bg-white);
    line-height: 1.5;
    margin: 0;
    padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Noto Serif', Georgia, serif;
    /* Serif for "Established" feel */
    color: var(--brand-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

a {
    transition: color 0.2s;
}

a:hover {
    text-decoration: underline;
}

.text-red {
    color: var(--brand-red);
}

/* --- COMPONENTS --- */

/* Buttons */
.btn-traditional {
    display: inline-block;
    padding: 10px 24px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 20px;
    /* Pill shape is common, or rounded rect */
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
    border: 1px solid transparent;
}

.btn-red {
    background-color: var(--brand-red);
    color: white;
    border: 1px solid var(--brand-red);
}

.btn-red:hover {
    background-color: #a6121a;
    color: white;
    text-decoration: none;
    border: 1px solid #a6121a;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--brand-red);
    color: var(--brand-red);
}

.btn-outline:hover {
    background-color: #fff0f0;
    text-decoration: none;
    color: var(--brand-dark);
}

/* Additional button sizes */
.btn-sm {
    padding: 6px 12px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 12px 30px;
    font-size: 1.1rem;
}

/* Block button */
.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Cards */
.card-traditional {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-card);
}

/* Form elements */
.form-control {
    display: block;
    width: 100%;
    padding: 10px 12px;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--brand-dark);
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: var(--border-radius-sm);
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    color: var(--brand-dark);
    background-color: #fff;
    border-color: var(--brand-gold);
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(255, 203, 5, 0.25);
}

.form-group {
    margin-bottom: 1rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--brand-dark);
}

/* Consistent padding classes */
.p-1 { padding: 0.25rem !important; }
.p-2 { padding: 0.5rem !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 2rem !important; }

.pt-1 { padding-top: 0.25rem !important; }
.pt-2 { padding-top: 0.5rem !important; }
.pt-3 { padding-top: 1rem !important; }
.pt-4 { padding-top: 1.5rem !important; }
.pt-5 { padding-top: 2rem !important; }

.pb-1 { padding-bottom: 0.25rem !important; }
.pb-2 { padding-bottom: 0.5rem !important; }
.pb-3 { padding-bottom: 1rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.pb-5 { padding-bottom: 2rem !important; }

.pl-1 { padding-left: 0.25rem !important; }
.pl-2 { padding-left: 0.5rem !important; }
.pl-3 { padding-left: 1rem !important; }
.pl-4 { padding-left: 1.5rem !important; }
.pl-5 { padding-left: 2rem !important; }

.pr-1 { padding-right: 0.25rem !important; }
.pr-2 { padding-right: 0.5rem !important; }
.pr-3 { padding-right: 1rem !important; }
.pr-4 { padding-right: 1.5rem !important; }
.pr-5 { padding-right: 2rem !important; }

/* Consistent margin classes */
.m-1 { margin: 0.25rem !important; }
.m-2 { margin: 0.5rem !important; }
.m-3 { margin: 1rem !important; }
.m-4 { margin: 1.5rem !important; }
.m-5 { margin: 2rem !important; }

.mt-1 { margin-top: 0.25rem !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 2rem !important; }

.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 2rem !important; }

.ml-1 { margin-left: 0.25rem !important; }
.ml-2 { margin-left: 0.5rem !important; }
.ml-3 { margin-left: 1rem !important; }
.ml-4 { margin-left: 1.5rem !important; }
.ml-5 { margin-left: 2rem !important; }

.mr-1 { margin-right: 0.25rem !important; }
.mr-2 { margin-right: 0.5rem !important; }
.mr-3 { margin-right: 1rem !important; }
.mr-4 { margin-right: 1.5rem !important; }
.mr-5 { margin-right: 2rem !important; }

/* --- HEADER / NAV STRUCTURE --- */
/* The top red bar */
.top-header-bar {
    background-color: var(--brand-red);
    color: white;
    height: var(--header-height);
    display: flex;
    align-items: center;
    font-size: 0.85rem;
}

.top-header-bar a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 600;
}

.top-header-bar a:hover {
    text-decoration: underline;
}

/* The white nav bar */
.main-nav-bar {
    background-color: white;
    border-bottom: 3px solid var(--brand-gold);
    /* Gold accent line */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.nav-link-traditional {
    color: var(--brand-dark) !important;
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0 10px;
    text-transform: none;
    padding: 5px 0;
    border-bottom: 2px solid transparent;
}

.nav-link-traditional:hover,
.nav-link-traditional.active {
    color: var(--brand-red) !important;
    border-bottom-color: var(--brand-red);
}

/* --- HERO SECTION with LOGIN --- */
.hero-traditional {
    background-color: var(--bg-light);
    padding: 60px 0 80px;
    position: relative;
}

.login-widget {
    background: white;
    padding: 30px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-pop);
    max-width: 380px;
}

.hero-headline {
    font-size: 3rem;
    line-height: 1.2;
    color: var(--brand-dark);
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--brand-grey);
    margin-bottom: 2rem;
}

/* --- FOOTER --- */
.footer-traditional {
    background-color: #f8f8f8;
    border-top: 1px solid #ddd;
    color: var(--brand-grey);
    padding: 40px 0;
    font-size: 0.9rem;
}

.footer-traditional h4 {
    color: var(--brand-dark);
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1.2rem;
}

.footer-link {
    display: block;
    color: var(--brand-grey);
    margin-bottom: 8px;
    text-decoration: none;
}

.footer-link:hover {
    color: var(--brand-red);
    text-decoration: underline;
}