﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

body {
    background: #f5f7fa;
    color: #1f2933;
}

.navbar-inverse {
    background: #152238;
    border-color: #101a2b;
}

.delottery-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 50px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.delottery-brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 4px;
    background: #f5c542;
    color: #152238;
    font-weight: 700;
    letter-spacing: 0;
}

.delottery-brand-name {
    font-weight: 600;
    letter-spacing: 0;
}

.body-content {
    background: #fff;
    min-height: calc(100vh - 70px);
    padding-top: 24px;
}

.admin-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid #d8dee8;
}

.admin-page-header h1 {
    margin: 0;
    font-size: 30px;
    font-weight: 600;
}

.admin-kicker {
    margin: 0 0 4px;
    color: #b08500;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.admin-header-meta {
    color: #5f6b7a;
    font-size: 13px;
    white-space: nowrap;
}

.admin-welcome-panel {
    max-width: 760px;
    padding: 28px 0 36px;
}

.admin-welcome-panel h2 {
    margin-top: 0;
    font-size: 24px;
}

.admin-welcome-panel p {
    max-width: 620px;
    color: #52616f;
    font-size: 16px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.dashboard-card {
    min-height: 130px;
    padding: 18px;
    border: 1px solid #d8dee8;
    border-top: 4px solid #2f6fab;
    border-radius: 4px;
    background: #fff;
}

.dashboard-card-alert {
    border-top-color: #b94a48;
}

.dashboard-card-label {
    display: block;
    margin-bottom: 8px;
    color: #66788a;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
}

.dashboard-card strong {
    display: block;
    margin-bottom: 6px;
    font-size: 30px;
    font-weight: 600;
    line-height: 1;
}

.dashboard-card span:last-child {
    color: #66788a;
}

.dashboard-sections {
    margin-top: 8px;
}

.dashboard-section {
    margin-bottom: 24px;
    padding-top: 4px;
}

.dashboard-section h2 {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 600;
}

.dashboard-facts dt {
    color: #66788a;
    font-size: 12px;
    text-transform: uppercase;
}

.dashboard-facts dd {
    margin-bottom: 14px;
    overflow-wrap: break-word;
}

.dashboard-audit-table td {
    vertical-align: top;
}

.dashboard-audit-table td span:not(.label) {
    display: block;
    max-width: 360px;
    overflow-wrap: break-word;
    color: #66788a;
    font-size: 12px;
}

.dashboard-muted {
    color: #66788a;
}

footer {
    color: #66788a;
}

@media (max-width: 991px) {
    .dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .admin-page-header {
        display: block;
    }

    .admin-header-meta {
        margin-top: 10px;
        white-space: normal;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .delottery-brand-name {
        max-width: 210px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

/* Delaware Lottery admin theme */
body {
    padding-top: 72px;
    background: #f3f4f6;
    color: #333;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.navbar-inverse {
    min-height: 72px;
    background: #ef3e42;
    border: 0;
    box-shadow: 0 3px 0 #ffdf1b, 0 6px 16px rgba(0, 0, 0, 0.18);
}

.navbar-inverse .navbar-nav > li > a,
.navbar-inverse .navbar-brand {
    color: #fff;
}

.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus,
.navbar-inverse .navbar-brand:hover,
.navbar-inverse .navbar-brand:focus {
    color: #ffdf1b;
    background: rgba(0, 0, 0, 0.12);
}

.navbar-inverse .navbar-toggle {
    margin-top: 18px;
    border-color: rgba(255, 255, 255, 0.55);
}

.navbar-inverse .navbar-toggle .icon-bar {
    background-color: #fff;
}

.navbar-inverse .navbar-collapse {
    border-color: rgba(255, 255, 255, 0.25);
}

.delottery-brand {
    height: 72px;
    padding-top: 12px;
    padding-bottom: 12px;
}

.delottery-brand img {
    display: block;
    width: 156px;
    max-height: 48px;
}

.delottery-brand-name {
    margin-left: 10px;
    padding-left: 10px;
    border-left: 2px solid rgba(255, 255, 255, 0.45);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.navbar-nav > li > a {
    padding-top: 26px;
    padding-bottom: 26px;
    font-weight: 700;
    white-space: nowrap;
}

#logoutForm {
    margin: 0;
}

.navbar-right > li:first-child {
    padding: 26px 10px 0;
    color: #fff;
    font-weight: 700;
}

.dropdown-menu {
    border: 0;
    border-radius: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.dropdown-menu > li > a {
    padding: 9px 18px;
    color: #333;
    font-weight: 600;
}

.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
    color: #fff;
    background: #007cc2;
}

.body-content {
    width: min(1180px, calc(100% - 32px));
    min-height: calc(100vh - 96px);
    margin: 0 auto 24px;
    padding: 0 0 24px;
    background: transparent;
}

.admin-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 28px;
    align-items: center;
    margin: 0 0 20px;
    padding: 30px;
    background: #007cc2;
    color: #fff;
    box-shadow: inset 0 -6px 0 #ffdf1b;
}

.admin-hero h1 {
    margin: 0;
    font-size: 38px;
    font-weight: 800;
    line-height: 1.05;
}

.admin-hero p {
    max-width: 720px;
    margin: 12px 0 0;
    font-size: 17px;
    line-height: 1.45;
}

.admin-kicker {
    margin: 0 0 8px;
    color: #ffdf1b;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.admin-hero-brand {
    display: flex;
    justify-content: flex-end;
}

.admin-hero-brand img {
    width: 240px;
    max-width: 100%;
    padding: 14px;
    background: #fff;
}

.admin-signin-panel,
.dashboard-panel,
.content-metric,
.admin-action-card {
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.admin-signin-panel {
    padding: 28px;
}

.admin-btn {
    border: 0;
    border-radius: 0;
    background: #ef3e42;
    color: #fff;
    font-weight: 800;
}

.admin-btn:hover,
.admin-btn:focus {
    background: #007cc2;
    color: #fff;
}

.content-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.content-metric {
    position: relative;
    min-height: 144px;
    padding: 18px;
    overflow: hidden;
}

.content-metric:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 7px;
    height: 100%;
    background: #007cc2;
}

.metric-red:before {
    background: #ef3e42;
}

.metric-yellow:before {
    background: #ffdf1b;
}

.metric-green:before {
    background: #55cba3;
}

.metric-label {
    display: block;
    margin-bottom: 12px;
    color: #555;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.content-metric strong {
    display: block;
    margin-bottom: 8px;
    color: #191919;
    font-size: 42px;
    font-weight: 800;
    line-height: 1;
    overflow-wrap: break-word;
}

.content-metric span:last-child {
    color: #666;
}

.admin-action-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
    margin: 0 0 24px;
}

.admin-action-card {
    display: block;
    padding: 14px 16px;
    color: #007cc2;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    border-bottom: 4px solid #ffdf1b;
}

.admin-action-card:hover,
.admin-action-card:focus {
    color: #fff;
    background: #ef3e42;
    text-decoration: none;
}

.dashboard-sections {
    margin-top: 0;
}

.dashboard-columns {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(300px, 5fr);
    gap: 24px;
    align-items: start;
}

/* Allow the grid columns to shrink below their table's intrinsic width so the
   table scroll container can take over instead of widening the page. */
.dashboard-column {
    min-width: 0;
}

.dashboard-column .dashboard-panel:last-child {
    margin-bottom: 0;
}

.dashboard-panel {
    margin-bottom: 24px;
    padding: 0;
}

.dashboard-panel-heading {
    padding: 16px 18px;
    color: #fff;
    background: #007cc2;
}

.dashboard-panel-heading h2 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
}

.dashboard-panel-heading span {
    display: block;
    margin-top: 3px;
    color: #d9f4ff;
}

.dashboard-muted {
    margin: 0;
    padding: 18px;
    color: #666;
}

.admin-table {
    margin-bottom: 0;
}

.admin-table > thead > tr > th {
    border-bottom: 2px solid #ffdf1b;
    color: #555;
    font-size: 12px;
    text-transform: uppercase;
}

.admin-table > tbody > tr > td {
    vertical-align: middle;
}

.admin-table td strong,
.admin-table td span {
    display: block;
}

.admin-table td span,
.document-path,
.publishing-list p,
.content-facts dt {
    color: #666;
}

.document-path {
    max-width: 360px;
    overflow-wrap: break-word;
    font-size: 12px;
}

.status-pill {
    display: inline-block;
    padding: 5px 8px;
    border-radius: 0;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.status-ok {
    background: #007cc2;
}

.status-alert {
    background: #ef3e42;
}

.content-facts {
    margin: 0;
    padding: 18px;
}

.content-facts dt {
    font-size: 12px;
    text-transform: uppercase;
}

.content-facts dd {
    margin-bottom: 16px;
    color: #191919;
    font-size: 20px;
    font-weight: 800;
}

.publishing-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.publishing-list li {
    padding: 16px 18px;
    border-bottom: 1px solid #e6e6e6;
}

.publishing-list li:last-child {
    border-bottom: 0;
}

.publish-time {
    display: block;
    color: #666;
    font-size: 12px;
    font-weight: 700;
}

.publishing-list strong {
    display: inline-block;
    margin: 4px 8px 6px 0;
}

.publishing-list p {
    margin: 0;
    overflow-wrap: break-word;
}

footer {
    padding: 0 0 12px;
    color: #555;
}

@media (min-width: 992px) {
    .navbar-inverse .container {
        display: flex;
        align-items: center;
    }

    .navbar-header {
        float: none;
        flex: 0 0 auto;
    }

    .navbar-inverse .navbar-collapse.collapse {
        display: flex !important;
        align-items: center;
        flex: 1 1 auto;
        min-width: 0;
        padding-right: 0;
    }

    .delottery-brand img {
        width: 128px;
    }

    .navbar-nav > li > a {
        padding-right: 9px;
        padding-left: 9px;
        font-size: 13px;
    }

    #logoutForm {
        display: flex;
        align-items: center;
        flex: 1 1 auto;
        min-width: 0;
    }

    #logoutForm > .navbar-nav {
        float: none;
        display: flex;
        align-items: center;
    }

    #logoutForm > .navbar-right {
        margin-left: auto;
    }

    .navbar-right > li:first-child {
        padding-top: 22px;
        padding-bottom: 22px;
        padding-right: 8px;
        padding-left: 8px;
        font-size: 13px;
        white-space: nowrap;
    }
}

@media (max-width: 991px) {
    body {
        padding-top: 50px;
    }

    .navbar-inverse {
        min-height: 50px;
    }

    .delottery-brand {
        height: 50px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .delottery-brand img {
        width: 118px;
        max-height: 34px;
    }

    .navbar-nav > li > a {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .navbar-right > li:first-child {
        padding: 12px 15px;
    }

    .admin-hero,
    .content-dashboard-grid,
    .admin-action-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-columns {
        grid-template-columns: 1fr;
    }

    .admin-hero-brand {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .body-content {
        width: calc(100% - 20px);
    }

    .admin-hero,
    .content-dashboard-grid,
    .admin-action-strip {
        grid-template-columns: 1fr;
    }

    .admin-hero {
        padding: 22px;
    }

    .admin-hero h1 {
        font-size: 30px;
    }
}

/* Professional admin polish */
body {
    background: #f5f7fb;
    color: #222832;
}

.navbar-inverse {
    background: #263342;
    box-shadow: inset 0 -3px 0 #ef3e42, 0 1px 10px rgba(16, 24, 40, 0.14);
}

.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus,
.navbar-inverse .navbar-brand:hover,
.navbar-inverse .navbar-brand:focus {
    color: #fff;
    background: rgba(239, 62, 66, 0.22);
}

.delottery-brand-name {
    border-left-color: rgba(255, 255, 255, 0.22);
}

.body-content {
    padding-top: 22px;
}

.admin-hero {
    display: block;
    margin-bottom: 22px;
    padding: 26px 30px;
    background: #fff;
    color: #222832;
    border: 1px solid #d9e0ea;
    border-left: 6px solid #ef3e42;
    box-shadow: 0 2px 8px rgba(16, 24, 40, 0.06);
}

.admin-hero h1 {
    color: #1f2937;
    font-size: 34px;
    font-weight: 700;
}

.admin-hero p {
    max-width: 780px;
    color: #536173;
    font-size: 16px;
}

.admin-kicker {
    color: #0074ad;
    font-size: 12px;
    letter-spacing: 0;
}

.admin-hero-brand {
    display: none;
}

.admin-signin-panel,
.dashboard-panel,
.content-metric,
.admin-action-card {
    border: 1px solid #dfe5ee;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.08);
}

.content-metric {
    min-height: 132px;
    padding: 18px 18px 18px 20px;
}

.content-metric:before {
    width: 4px;
}

.metric-yellow:before {
    background: #d8a900;
}

.metric-green:before {
    background: #2f9f7a;
}

.metric-label {
    color: #667085;
    font-size: 11px;
}

.content-metric strong {
    color: #1f2937;
    font-size: 36px;
    font-weight: 700;
}

.admin-action-card {
    color: #005f91;
    border-bottom: 3px solid #d8a900;
}

.admin-action-card:hover,
.admin-action-card:focus {
    color: #fff;
    background: #005f91;
}

.dashboard-panel-heading {
    padding: 15px 18px;
    color: #1f2937;
    background: #fff;
    border-bottom: 1px solid #dfe5ee;
    border-left: 4px solid #0074ad;
}

.dashboard-panel-heading h2 {
    font-size: 19px;
    font-weight: 700;
}

.dashboard-panel-heading span {
    color: #667085;
}

.admin-table > thead > tr > th {
    border-bottom-color: #dfe5ee;
    color: #667085;
}

.status-pill {
    display: inline-block;
    color: #fff;
    border-radius: 999px;
}

.status-ok {
    background: #0074ad;
}

.status-alert {
    background: #c9282d;
}

.status-draft {
    background: #667085;
}

.admin-table .status-pill,
.publishing-list .status-pill {
    display: inline-block;
    color: #fff;
}

/* Keep wide dashboard tables scrollable inside their panel instead of
   pushing the whole page sideways, and align cells with the panel heading. */
.admin-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 6px;
}

.admin-table {
    margin-bottom: 0;
}

.admin-table > thead > tr > th:first-child,
.admin-table > tbody > tr > td:first-child {
    padding-left: 22px;
}

.admin-table > thead > tr > th:last-child,
.admin-table > tbody > tr > td:last-child {
    padding-right: 22px;
}

/* Align side-panel body content with the 4px-accented panel headings. */
.content-facts,
.dashboard-muted {
    padding-left: 22px;
}

.publishing-list li {
    padding-left: 22px;
}

.admin-list-header {
    display: flex;
    align-items: center;
}

.admin-list-header .admin-btn {
    margin-left: auto;
}

.story-actions {
    white-space: nowrap;
}

.story-actions a {
    display: inline-block;
    margin-left: 10px;
    font-weight: 700;
}

.story-editor-panel .form-control {
    max-width: none;
}

.story-editor-body {
    padding: 20px;
}

.story-publish-toggle {
    padding-top: 27px;
}

.story-publish-toggle label {
    font-weight: 700;
}

.story-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.story-editor {
    max-width: none;
    min-height: 360px;
    height: auto;
    overflow-y: auto;
    color: #333;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    white-space: normal;
}

.story-editor:focus {
    border-color: #0074ad;
    box-shadow: 0 0 0 2px rgba(0, 116, 173, 0.14);
    outline: 0;
}

.story-preview-box {
    margin-top: 18px;
    padding: 18px;
    border: 1px solid #dfe5ee;
    border-radius: 6px;
    background: #fafbfc;
}

.story-preview-box h3 {
    margin-top: 0;
    font-size: 18px;
}

.story-preview,
.story-public-preview {
    max-width: 820px;
    color: #333;
    font-size: 16px;
    line-height: 1.55;
}

.story-preview p,
.story-public-preview p,
.story-editor p {
    margin-bottom: 14px;
}

.story-form-actions {
    margin-top: 20px;
}

.winner-story-table td {
    vertical-align: middle;
}

.media-dashboard-grid .content-metric strong {
    font-size: 30px;
}

.media-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.media-panel-heading > div {
    min-width: 0;
}

.media-filter-bar {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 10px;
    margin: 0;
}

.media-filter-bar .form-control {
    max-width: none;
}

.media-search {
    display: flex;
    align-items: stretch;
    flex: 0 0 340px;
    width: 340px;
    max-width: 340px;
}

.media-search .form-control {
    flex: 1 1 auto;
    min-width: 0;
    height: 34px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.media-search-button {
    flex: 0 0 42px;
    height: 34px;
    margin-left: -1px;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    line-height: 1;
    padding-top: 6px;
    padding-bottom: 6px;
}

.media-filter-bar select {
    flex: 0 0 150px;
    height: 34px;
    width: 150px;
}

.media-alert {
    margin: 18px;
}

.media-breadcrumbs {
    padding: 12px 18px;
    background: #f8fafc;
    border-bottom: 1px solid #dfe5ee;
    color: #667085;
    font-size: 13px;
    font-weight: 700;
}

.media-breadcrumbs a {
    color: #005f91;
}

.media-breadcrumb-separator {
    display: inline-block;
    margin: 0 7px;
    color: #98a2b3;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 14px;
    padding: 18px;
}

.media-asset {
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dfe5ee;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(16, 24, 40, 0.08);
}

.media-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 170px;
    background: #f2f5f8;
    border-bottom: 1px solid #dfe5ee;
    color: #667085;
    text-decoration: none;
}

.media-preview:hover,
.media-preview:focus {
    color: #005f91;
    text-decoration: none;
}

.media-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.media-file-icon {
    font-size: 46px;
}

.media-folder .media-preview {
    background: #fff8d8;
    color: #9a7600;
}

.media-folder-link:hover,
.media-folder-link:focus {
    color: #005f91;
}

.media-folder-icon {
    font-size: 54px;
}

.media-asset-body {
    padding: 14px;
}

.media-asset h3 {
    margin: 0 0 8px;
    overflow: hidden;
    color: #1f2937;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.media-facts {
    display: grid;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 4px 8px;
    margin: 12px 0;
    font-size: 12px;
}

.media-facts dt {
    color: #667085;
    text-transform: uppercase;
}

.media-facts dd {
    min-width: 0;
    margin: 0;
    overflow: hidden;
    color: #222832;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.media-actions {
    display: flex;
    gap: 8px;
}

.media-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

@media (max-width: 767px) {
    .media-panel-heading,
    .media-filter-bar {
        display: block;
    }

    .media-filter-bar {
        margin-top: 14px;
    }

    .media-search,
    .media-filter-bar select {
        width: 100%;
        margin-bottom: 8px;
    }

    .media-search {
        display: flex;
        max-width: none;
    }
}

.login-shell {
    display: flex;
    justify-content: center;
    padding: 42px 0 56px;
}

.login-card {
    position: relative;
    width: 100%;
    max-width: 430px;
    padding: 28px;
    background: #fff;
    border: 1px solid #dfe5ee;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
}

.login-card-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e6ebf2;
}

.login-card-header h1 {
    margin: 0;
    color: #1f2937;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
}

.login-form {
    margin: 0;
}

.login-validation {
    margin-bottom: 16px;
    padding: 10px 12px;
    background: #fff5f5;
    border-left: 4px solid #c9282d;
}

.login-field {
    margin-bottom: 18px;
}

.login-field label {
    display: block;
    margin-bottom: 7px;
    color: #344054;
    font-size: 13px;
    font-weight: 800;
}

.login-field .form-control {
    width: 100%;
    max-width: none;
    height: 46px;
    padding: 10px 13px;
    border-color: #cfd7e3;
    border-radius: 4px;
    box-shadow: none;
    font-size: 15px;
}

.login-field .form-control:focus {
    border-color: #0074ad;
    box-shadow: 0 0 0 3px rgba(0, 116, 173, 0.12);
}

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 6px 0 22px;
}

.login-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #536173;
    font-weight: 600;
}

.login-checkbox input {
    margin: 0;
}

.login-submit {
    width: 100%;
    max-width: none;
    min-height: 46px;
    border-radius: 4px;
    font-size: 15px;
}

@media (max-width: 900px) {
    .login-shell {
        padding-top: 30px;
    }
}

@media (max-width: 520px) {
    .login-card {
        padding: 22px;
    }

    .login-card-header {
        align-items: flex-start;
    }
}

/* Keep the admin nav in the document flow so it cannot cover page content. */
body {
    padding-top: 0;
}

.navbar-fixed-top {
    position: sticky;
    top: 0;
    right: auto;
    left: auto;
    z-index: 1030;
}

/* Final nav sizing pass: compact header, no overlap, login aligned right. */
.navbar-inverse {
    min-height: 64px;
    margin-bottom: 0;
}

.navbar-inverse .container {
    min-height: 64px;
}

.delottery-brand {
    height: 64px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.delottery-brand img {
    width: 96px;
    max-height: 38px;
}

.delottery-brand-name {
    font-size: 15px;
}

.navbar-nav > li > a {
    padding-top: 22px;
    padding-bottom: 22px;
}

.navbar-collapse .navbar-right {
    margin-left: auto;
}

.navbar-right > li.login-nav-item {
    height: 64px !important;
    padding: 0 !important;
}

.login-shell {
    padding-top: 58px;
}
