
/* Import Lato font */
@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 300;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
    src: url(/frameworks/webfonts/lato-fca83cdc.woff2) format('woff2');
}

@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 400;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
    src: url(/frameworks/webfonts/lato-96ea6aad.woff2) format('woff2');
}

@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 700;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
    src: url(/frameworks/webfonts/lato-a775bf8f.woff2) format('woff2');
}

@font-face {
    font-family: 'Lato';
    font-style: normal;
    font-weight: 900;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
    src: url(/frameworks/webfonts/lato-44903802.woff2) format('woff2');
}

/*!
 * Bootstrap v4.3.1 (https://getbootstrap.com/)
 * Copyright 2011-2019 The Bootstrap Authors
 * Copyright 2011-2019 Twitter, Inc.
 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
 * Enhanced with modern theme styles
 */

:root {
    --blue: #007bff;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #e83e8c;
    --red: #dc3545;
    --orange: #fd7e14;
    --yellow: #ffc107;
    --green: #28a745;
    --teal: #20c997;
    --cyan: #17a2b8;
    --white: #fff;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --primary: #011b9a;
    --secondary: #222;
    --success: #32d296;
    --info: #17a2b8;
    --warning: #faa05a;
    --danger: #f0506e;
    --light: #f8f9fa;
    --dark: #343a40;
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
    --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

    /* Modern theme additions */
    --font-family-lato: Lato, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Base styles */
*,
*::before,
*::after {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    font-family: var(--font-family-lato);
    font-size: 16px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #343434;
    text-align: left;
    background-color: #fff;
    font-family: var(--font-family-lato);
}

/* Enhanced Button Styles from theme.12.css */
.btn {
    margin: 0;
    border: none;
    overflow: visible;
    font: inherit;
    color: inherit;
    -webkit-appearance: none;
    border-radius: 0;
    display: inline-block;
    box-sizing: border-box;
    padding: 5px 30px;
    vertical-align: middle;
    font-size: 15px;
    line-height: 36px;
    text-align: center;
    text-decoration: none;
    transition: .3s ease-in-out;
    transition-property: color, background-color, background-position, background-size, border-color, box-shadow;
    font-family: var(--font-family-lato);
    font-weight: 900;
    text-transform: none;
    border-radius: 7px;
    background-origin: border-box;
    cursor: pointer;
}

.btn:not(:disabled) {
    cursor: pointer;
}

.btn::-moz-focus-inner {
    border: 0;
    padding: 0;
}

.btn:hover {
    text-decoration: none;
}

.btn:focus, .btn.focus {
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.btn.disabled, .btn:disabled {
    opacity: 0.65;
    background-color: #f6f6f6;
    color: #9b9b9b;
    border: 2px solid transparent;
    background-image: none;
    box-shadow: none;
}

/* Primary Button */
.btn-primary {
    background-color: var(--primary);
    color: #fff;
    border: 2px solid transparent;
    box-shadow: 0 0 20px 0 rgba(1, 27, 154, 0.2);
}

.btn-primary:hover {
    background-color: #011781;
    color: #fff;
    border-color: transparent;
    box-shadow: 0 0 15px 0 rgba(1, 27, 154, 0.78);
}

.btn-primary:focus, .btn-primary.focus {
    box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);
}

.btn-primary.disabled, .btn-primary:disabled {
    color: #fff;
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show > .btn-primary.dropdown-toggle {
    background-color: #011267;
    color: #fff;
    border-color: transparent;
}

/* Secondary Button */
.btn-secondary {
    background-color: var(--secondary);
    color: #fff;
    border: 2px solid transparent;
    box-shadow: 0 0 20px 0 rgba(34, 34, 34, 0.2);
}

.btn-secondary:hover {
    background-color: #151515;
    color: #fff;
    border-color: transparent;
    box-shadow: 0 0 30px 0 rgba(34, 34, 34, 0.4);
}

.btn-secondary:focus, .btn-secondary.focus {
    box-shadow: 0 0 0 0.2rem rgba(130, 138, 145, 0.5);
}

.btn-secondary:not(:disabled):not(.disabled):active,
.btn-secondary:not(:disabled):not(.disabled).active,
.show > .btn-secondary.dropdown-toggle {
    background-color: #080808;
    color: #fff;
    border-color: transparent;
}

/* Success Button */
.btn-success {
    background-color: var(--success);
    color: #fff;
    border: 2px solid transparent;
    box-shadow: 0 0 20px 0 rgba(50, 210, 150, 0.2);
}

.btn-success:hover {
    background-color: #28b880;
    color: #fff;
    border-color: transparent;
    box-shadow: 0 0 30px 0 rgba(50, 210, 150, 0.4);
}

.btn-success:focus, .btn-success.focus {
    box-shadow: 0 0 0 0.2rem rgba(72, 180, 97, 0.5);
}

/* Danger Button */
.btn-danger {
    background-color: var(--danger);
    color: #fff;
    border: 2px solid transparent;
    box-shadow: 0 0 20px 0 rgba(240, 80, 110, 0.2);
}

.btn-danger:hover {
    background-color: #ee395b;
    color: #fff;
    border-color: transparent;
    box-shadow: 0 0 30px 0 rgba(240, 80, 110, 0.4);
}

.btn-danger:focus, .btn-danger.focus {
    box-shadow: 0 0 0 0.2rem rgba(225, 83, 97, 0.5);
}

/* Default Button */
.btn-default {
    background-color: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.btn-default:hover {
    background-color: rgba(0, 0, 0, 0);
    color: var(--primary);
    border-color: var(--primary);
}

.btn-default.active, .btn-default:active {
    background-color: transparent;
    color: #011267;
    border-color: #011267;
}

/* Warning Button */
.btn-warning {
    background-color: var(--warning);
    color: #fff;
    border: 2px solid transparent;
    box-shadow: 0 0 20px 0 rgba(250, 160, 90, 0.2);
}

.btn-warning:hover {
    background-color: #f9944a;
    color: #fff;
    border-color: transparent;
    box-shadow: 0 0 30px 0 rgba(250, 160, 90, 0.4);
}

/* Info Button */
.btn-info {
    background-color: var(--info);
    color: #fff;
    border: 2px solid transparent;
    box-shadow: 0 0 20px 0 rgba(23, 162, 184, 0.2);
}

.btn-info:hover {
    background-color: #138496;
    color: #fff;
    border-color: transparent;
    box-shadow: 0 0 30px 0 rgba(23, 162, 184, 0.4);
}

/* Light Button */
.btn-light {
    background-color: #f8f9fa;
    color: #212529;
    border: 2px solid transparent;
}

.btn-light:hover {
    background-color: #e2e6ea;
    color: #212529;
    border-color: transparent;
}

/* Dark Button */
.btn-dark {
    background-color: #343a40;
    color: #fff;
    border: 2px solid transparent;
}

.btn-dark:hover {
    background-color: #23272b;
    color: #fff;
    border-color: transparent;
}

/* Button Sizes */
.btn-small {
    padding: 0 15px;
    line-height: 26px;
    font-size: 14px;
}

.btn-large {
    padding: 0 40px;
    line-height: 51px;
    font-size: 18px;
}

.btn-lg, .btn-group-lg > .btn {
    padding: 0 40px;
    line-height: 51px;
    font-size: 18px;
}

.btn-sm, .btn-group-sm > .btn {
    padding: 0 15px;
    line-height: 26px;
    font-size: 14px;
}

/* Text Button */
.btn-text {
    padding: 0;
    line-height: 1.5;
    background: transparent;
    color: #191919;
    position: relative;
    padding-right: 27px;
    border-radius: 0;
    border: none;
}

.btn-text::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    bottom: 0;
    right: 0;
    width: 22px;
    height: 22px;
    transition: .2s ease-out;
    transition-property: height, width, background-position;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2222%22%20height%3D%2214%22%20viewBox%3D%220%200%2022%2014%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpolygon%20fill%3D%22%23191919%22%20points%3D%2221.6%206.89%2015.12%2013.6%2013.68%2012.21%2017.75%208%200%208%200%206%2017.91%206%2013.69%201.7%2015.11%200.3%2021.6%206.89%22%20%2F%3E%0A%3C%2Fsvg%3E%0A");
    background-repeat: no-repeat;
    background-position: calc(100% - 5px) 50%;
}

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

.btn-text:hover:not(:disabled)::after {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg%20width%3D%2222%22%20height%3D%2214%22%20viewBox%3D%220%200%2022%2014%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%0A%20%20%20%20%3Cpolygon%20fill%3D%22%23011B9A%22%20points%3D%2221.6%206.89%2015.12%2013.6%2013.68%2012.21%2017.75%208%200%208%200%206%2017.91%206%2013.69%201.7%2015.11%200.3%2021.6%206.89%22%20%2F%3E%0A%3C%2Fsvg%3E%0A");
    background-position: 100% 50%;
}

.btn-text:disabled {
    color: #9b9b9b;
}

/* Link Button */
.btn-link {
    padding: 0;
    line-height: 1.5;
    background: transparent;
    color: #191919;
    border-radius: 0;
    border: none;
}

.btn-link:hover {
    color: var(--primary);
    text-decoration: none;
}

.btn-link:disabled {
    color: #9b9b9b;
    text-decoration: none;
}

/* Block Button */
.btn-block {
    display: block;
    width: 100%;
}

.btn-block + .btn-block {
    margin-top: 0.5rem;
}

/* Button Group Enhancements */
.btn-group {
    display: inline-flex;
    vertical-align: middle;
    position: relative;
}

.btn-group > .btn:nth-child(n+2),
.btn-group > div:nth-child(n+2) .btn {
    margin-left: -2px;
}

.btn-group .btn.active,
.btn-group .btn:active,
.btn-group .btn:focus,
.btn-group .btn:hover {
    position: relative;
    z-index: 1;
}

/* Enhanced Typography */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    margin-bottom: 0.5rem;
    font-weight: 500;
    line-height: 1.2;
    font-family: var(--font-family-lato);
    color: #191919;
}

h1, .h1 {
    font-size: 38.25px;
    line-height: 1.2;
    font-weight: 900;
}

h2, .h2 {
    font-size: 28.9px;
    line-height: 1.3;
    font-weight: 900;
}

h3, .h3 {
    font-size: 22px;
    line-height: 1.4;
    font-weight: 900;
}

h4, .h4 {
    font-size: 18px;
    line-height: 1.4;
    font-weight: 900;
}

h5, .h5 {
    font-size: 16px;
    line-height: 1.4;
    font-weight: 900;
}

h6, .h6 {
    font-size: 14px;
    line-height: 1.4;
    font-weight: 900;
}

@media (min-width: 960px) {
    h1, .h1 {
        font-size: 45px;
    }
    h2, .h2 {
        font-size: 34px;
    }
}

/* Enhanced Links */
a {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

a:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Enhanced Forms */
.form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #343434;
    background-color: #fff;
    background-clip: padding-box;
    border: 0 none;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    color: #343434;
    background-color: #fff;
    border-color: var(--primary);
    outline: 0;
    box-shadow: none;
}

.form-control::placeholder {
    color: #9b9b9b;
    opacity: 1;
}

.form-control:disabled,
.form-control[readonly] {
    background-color: #f6f6f6;
    opacity: 1;
}

/* Enhanced Tables */
.table {
    width: 100%;
    margin-bottom: 1rem;
    color: #343434;
    font-family: var(--font-family-lato);
}

.table th,
.table td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #eaeaea;
}

.table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #eaeaea;
    color: #9b9b9b;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
}

.table tbody + tbody {
    border-top: 2px solid #eaeaea;
}

/* Enhanced Cards */
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid #c8c8c8;
    border-radius: 10px;
    transition: .1s ease-in-out;
    transition-property: color, background-color, background-size, border-color, box-shadow;
}

.card-body {
    flex: 1 1 auto;
    padding: 30px;
}

.card-header {
    padding: 15px 30px;
    margin-bottom: 0;
    background-color: rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid #eaeaea;
    border-radius: 10px 10px 0 0;
}

.card-footer {
    padding: 15px 30px;
    background-color: rgba(0, 0, 0, 0.03);
    border-top: 1px solid #eaeaea;
    border-radius: 0 0 10px 10px;
}

@media (min-width: 1200px) {
    .card-body {
        padding: 40px;
    }
    .card-header {
        padding: 20px 40px;
    }
    .card-footer {
        padding: 20px 40px;
    }
}

/* Enhanced Alerts */
.alert {
    position: relative;
    padding: 15px 29px 15px 15px;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    font-family: var(--font-family-lato);
}

.alert-primary {
    background: #b0b8df;
    color: var(--primary);
    border-color: var(--primary);
}

.alert-success {
    background: #edfbf6;
    color: var(--success);
    border-color: var(--success);
}

.alert-warning {
    background: #fff6ee;
    color: var(--warning);
    border-color: var(--warning);
}

.alert-danger {
    background: #fef4f6;
    color: var(--danger);
    border-color: var(--danger);
}

/* Enhanced Badges */
.badge {
    display: inline-block;
    padding: 0.25em 0.4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
    font-family: var(--font-family-lato);
}

.badge-primary {
    color: #fff;
    background-color: var(--primary);
}

.badge-secondary {
    color: #fff;
    background-color: var(--secondary);
}

.badge-success {
    color: #fff;
    background-color: var(--success);
}

.badge-danger {
    color: #fff;
    background-color: var(--danger);
}

.badge-warning {
    color: #fff;
    background-color: var(--warning);
}

.badge-info {
    color: #fff;
    background-color: var(--info);
}

/* Enhanced Progress */
.progress {
    display: flex;
    height: 15px;
    overflow: hidden;
    font-size: 0.75rem;
    background-color: #e9e9e9;
    border-radius: 0;
    margin-bottom: 20px;
}

.progress-bar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    background-color: var(--primary);
    transition: width 0.6s ease;
}

/* Enhanced Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    display: none;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
    background: rgba(0, 0, 0, 0.6);
}

.modal-dialog {
    position: relative;
    width: auto;
    margin: 0.5rem;
    pointer-events: none;
    border-radius: 10px;
}

.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    outline: 0;
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 15px 30px;
    border-bottom: 1px solid #eaeaea;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 30px;
}

.modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 15px 30px;
    border-top: 1px solid #eaeaea;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}

/* Utility Classes */
.text-primary {
    color: var(--primary) !important;
}

.text-secondary {
    color: var(--secondary) !important;
}

.text-success {
    color: var(--success) !important;
}

.text-danger {
    color: var(--danger) !important;
}

.text-warning {
    color: var(--warning) !important;
}

.text-info {
    color: var(--info) !important;
}

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

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

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

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

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

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

/* Responsive utilities */
@media (prefers-reduced-motion: reduce) {
    .btn {
        transition: none;
    }
    .form-control {
        transition: none;
    }
    .card {
        transition: none;
    }
    .progress-bar {
        transition: none;
    }
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 2px dotted var(--primary);
    outline-offset: 2px;
}

/* Selection styles */
::selection {
    background: var(--primary);
    color: #fff;
    text-shadow: none;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Enhanced container */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}
