/*
 * Drop Ship Logistics - Modern Site Styles
 * Human-readable, unminified CSS.
 * ASCII source only.
 */

:root {
    --dsl-navy: #062c63;
    --dsl-navy-dark: #031f49;
    --dsl-blue: #0d6efd;
    --dsl-blue-soft: #eaf3ff;
    --dsl-border: #dce5f0;
    --dsl-bg: #f6f9fc;
    --dsl-text: #12223a;
    --dsl-muted: #6b778c;
    --dsl-success: #198754;
    --dsl-warning: #f4b000;
    --dsl-danger: #dc3545;
    --dsl-radius: 14px;
    --dsl-shadow: 0 10px 30px rgba(19, 45, 85, 0.08);
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    background: var(--dsl-bg);
    color: var(--dsl-text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.55;
}

a {
    color: var(--dsl-blue);
    text-decoration: none;
}

a:hover:not(.brand-mark,.btn,.navbar-brand,.nav-link) {
    text-decoration: underline;
    color: #084eb7;
}
.topbar {
    background: var(--dsl-navy-dark);
    color: #ffffff;
    font-size: 0.85rem;
    padding: 0.55rem 0;
}

.site-nav {
    background: #ffffff;
    border-bottom: 1px solid var(--dsl-border);
    box-shadow: 0 3px 14px rgba(20, 44, 79, 0.04);
    min-height: 80px;
}

.site-nav .navbar-brand {
    text-decoration: none;
}

.site-nav .nav-link {
    color: #243b5a;
    font-weight: 600;
    margin: 0 2.3rem;
    padding: 0.7rem 0.85rem !important;
    border-radius: 8px;
}

.site-nav .nav-link:hover,
.site-nav .nav-link.active {
    color: var(--dsl-blue);
    background: var(--dsl-blue-soft);
}

.navbar-brand { min-width: 330px; color: #0c3c85; text-decoration: none; }
.dsl-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 45px;
  font-size: 38px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -5px;
  transform: skewX(-8deg);
}
.brand-divider { height: 44px; width: 2px; background: #0c3c85; margin: 0 14px; }
.brand-text { font-size: 19px; line-height: 1.05; font-weight: 700; letter-spacing: .8px; }

/*
.topbar {
    background: var(--dsl-navy-dark);
    color: #ffffff;
    font-size: 0.85rem;
    padding: 0.55rem 0;
}

.site-nav {
    background: #ffffff;
    border-bottom: 1px solid var(--dsl-border);
    box-shadow: 0 3px 14px rgba(20, 44, 79, 0.04);
    min-height: 78px;
}

.site-nav .navbar-brand {
    text-decoration: none;
}

.site-nav .nav-link {
    color: #243b5a;
    font-weight: 600;
    margin: 0 0.2rem;
    padding: 0.7rem 0.85rem !important;
    border-radius: 8px;
}

.site-nav .nav-link:hover,
.site-nav .nav-link.active {
    color: var(--dsl-blue);
    background: var(--dsl-blue-soft);
}

.navbar-brand { min-width: 330px; color: #0c3c85; text-decoration: none; }
.dsl-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 45px;
  font-size: 38px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -5px;
  transform: skewX(-8deg);
}
.brand-divider { height: 44px; width: 2px; background: #0c3c85; margin: 0 14px; }
.brand-text { font-size: 19px; line-height: 1.05; font-weight: 700; letter-spacing: .8px; }
*/
/*
.brand-mark {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    min-width: 118px;
    padding: 0.25rem 0.75rem;
    color: #ffffff;
    background: linear-gradient(to bottom right, #0e5da8, #08175d);
    border: 3px solid #d6dce4;
    border-radius: 5px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
    font-size: 2rem;
    font-weight: 800;
    font-style: italic;
    line-height: 0.9;
    letter-spacing: -0.08em;
}

.brand-sub {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.48rem;
    font-style: normal;
    font-weight: 700;
    letter-spacing: 0.08em;
}
*/
.page-shell {
    width: min(1320px, calc(100% - 40px));
    margin: 0 auto;
    padding: 2rem 0;
}

.public-hero {
    padding: 2.25rem 0;
    background: linear-gradient(to bottom right, #082e67, #0b56ad);
    color: #ffffff;
}

.public-title {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.public-subtitle {
    max-width: 800px;
    margin: 0.65rem 0 0;
    color: #dbeaff;
    font-size: 1.05rem;
}

.hero-title {
    color: var(--dsl-navy);
    font-size: clamp(2.4rem, 5vw, 4.35rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero-copy {
    color: #344964;
    font-size: 1.05rem;
}

.card-modern,
.content-card,
.table-card,
.calendar-card,
.contact-panel,
.login-card {
    background: #ffffff;
    border: 1px solid var(--dsl-border);
    border-radius: var(--dsl-radius);
    box-shadow: var(--dsl-shadow);
}

.card-modern,
.content-card,
.contact-panel,
.login-card {
    padding: 1.5rem;
}

.section-title {
    margin-bottom: 1rem;
    color: var(--dsl-navy);
    font-size: 1.3rem;
    font-weight: 800;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 50%;
    color: var(--dsl-blue);
    background: var(--dsl-blue-soft);
}

.quote-card {
    background: linear-gradient(145deg, #f4f8ff, #eaf2ff);
}

.testimonial {
    background: linear-gradient(145deg, #fffdfa, #fff8e8);
}

.cta-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.4rem 1.6rem;
    background: #eef6ff;
    border: 1px solid #dcecff;
    border-radius: var(--dsl-radius);
}

.hero-illustration {
    position: relative;
    min-height: 340px;
    overflow: hidden;
    border-radius: 28px;
    background: linear-gradient(180deg, #e8f5ff, #d7edff 70%, #d7efc8 70%, #b9df98);
}

.mailbox {
    position: absolute;
    top: 72px;
    right: 45px;
    width: 118px;
    height: 92px;
    border-radius: 58px 14px 14px 10px;
    background: #0a4c91;
}

.mailbox-post {
    position: absolute;
    top: 150px;
    right: 90px;
    width: 18px;
    height: 145px;
    background: #124a83;
}

.package {
    position: absolute;
    left: 55px;
    bottom: 42px;
    width: 126px;
    height: 104px;
    border-radius: 9px;
    background: #dca64f;
    box-shadow: inset -12px -10px 0 rgba(132, 87, 28, 0.12);
}

.footer {
    margin-top: 2.5rem;
    padding: 1.6rem 0;
    color: #ffffff;
    background: var(--dsl-navy-dark);
}

.footer a {
    color: #ffffff;
	text-decoration:none;
}

.about-highlight {
    padding: 1.6rem;
    color: #ffffff;
    background: linear-gradient(145deg, #0b5bbb, #06356f);
    border-radius: var(--dsl-radius);
    box-shadow: var(--dsl-shadow);
}

.specialty-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.25rem;
}

.specialty-chip {
    display: inline-block;
    padding: 0.45rem 0.75rem;
    color: #0b4a95;
    background: #edf5ff;
    border: 1px solid #cfe3ff;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 700;
}

.info-callout {
    padding: 1rem 1.15rem;
    color: #294463;
    background: #edf6ff;
    border-left: 4px solid var(--dsl-blue);
    border-radius: 8px;
}

.signup-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem;
}

.signup-grid h3 {
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
    color: var(--dsl-navy);
    border-bottom: 1px solid var(--dsl-border);
    font-size: 1.15rem;
    font-weight: 800;
}

.phone-row {
    display: grid;
    grid-template-columns: 0.8fr 0.8fr 1fr;
    gap: 0.5rem;
}

.form-control,
.form-select {
    border-color: #cbd6e2;
    border-radius: 8px;
}

.form-control:focus,
.form-select:focus {
    border-color: #70a9ff;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.12);
}

.login-wrap {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    max-width: 1000px;
    margin: 3rem auto;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--dsl-border);
    border-radius: 18px;
    box-shadow: var(--dsl-shadow);
}

.login-welcome {
    padding: 3rem;
    color: #ffffff;
    background: linear-gradient(145deg, #06295d, #0a468e);
}

.login-form-panel {
    padding: 3rem;
}

.faq-item {
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--dsl-border);
}

.faq-item:last-child {
    border-bottom: 0;
}

.faq-question {
    margin-bottom: 0.45rem;
    color: var(--dsl-navy);
    font-size: 1.05rem;
    font-weight: 800;
}

.procedure-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.procedure-gallery.five {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.procedure-thumb {
    margin: 0;
    text-align: center;
}

.procedure-thumb img {
    width: 100%;
    min-height: 110px;
    max-height: 170px;
    object-fit: cover;
    border: 1px solid var(--dsl-border);
    border-radius: 8px;
    background: #f1f4f7;
}

.procedure-thumb figcaption {
    margin-top: 0.5rem;
    font-weight: 600;
}

.procedure-step {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 1.5rem;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--dsl-border);
}

.procedure-step:last-child {
    border-bottom: 0;
}

.procedure-step img {
    width: 100%;
    height: 130px;
    object-fit: cover;
    border: 1px solid var(--dsl-border);
    border-radius: 8px;
    background: #f1f4f7;
}

.step-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-right: 0.6rem;
    color: #ffffff;
    background: var(--dsl-blue);
    border-radius: 50%;
}

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1000;
    width: 220px;
    overflow-y: auto;
    padding: 1rem 0.75rem;
    color: #ffffff;
    background: linear-gradient(180deg, #062b62, #043a7a);
}

.sidebar .brand {
    margin-bottom: 1.5rem;
    padding: 0.4rem 0.75rem 1rem;
    font-size: 2.1rem;
    font-weight: 800;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.sidebar .brand small {
    display: block;
    font-size: 0.55rem;
    letter-spacing: 0.08em;
}

.side-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.2rem;
    padding: 0.7rem 0.75rem;
    color: #eaf3ff;
    border-radius: 8px;
    text-decoration: none;
}

.side-link i {
    width: 20px;
    text-align: center;
}

.side-link:hover,
.side-link.active {
    color: #ffffff;
    background: rgba(13, 110, 253, 0.8);
}

.admin-main {
    min-height: 100vh;
    margin-left: 220px;
}

.admin-top {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: 68px;
    padding: 0.75rem 2rem;
    background: #ffffff;
    border-bottom: 1px solid var(--dsl-border);
}

.admin-content {
    padding: 1.75rem;
}

.calendar-card {
    padding: 1rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid #cad7e6;
    border-radius: 10px;
}

.calendar-head {
    padding: 0.65rem;
    color: #ffffff;
    background: #0a4ca4;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
    text-align: center;
    font-size: 0.8rem;
    font-weight: 800;
}

.calendar-day {
    min-height: 95px;
    padding: 0.55rem;
    background: #ffffff;
    border-right: 1px solid #dce5ef;
    border-bottom: 1px solid #dce5ef;
    font-weight: 700;
}

.calendar-day.muted {
    color: #8994a4;
    background: #f7f9fb;
}

.calendar-day.today {
    background: #fff5c4;
}

.event-pill,
.holiday {
    display: block;
    margin-top: 0.4rem;
    color: var(--dsl-blue);
    font-size: 0.76rem;
    font-weight: 600;
}

.holiday {
    color: #5a4300;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--dsl-border);
    border-radius: var(--dsl-radius);
    box-shadow: var(--dsl-shadow);
}

.metric {
    padding: 1.2rem;
    border-right: 1px solid var(--dsl-border);
}

.metric:last-child {
    border-right: 0;
}

.metric .label {
    color: var(--dsl-muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.metric .value {
    margin-top: 0.25rem;
    color: var(--dsl-navy);
    font-size: 1.35rem;
    font-weight: 800;
}

.table-card {
    padding: 1rem;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(110px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.small-label {
    display: block;
    margin-bottom: 0.3rem;
    color: #4e6077;
    font-size: 0.75rem;
    font-weight: 700;
}

#shipmentsTable thead th {
    color: #ffffff;
    background: #083d82;
    border-color: #174f90;
    white-space: nowrap;
    font-size: 0.79rem;
}

#shipmentsTable tbody td {
    white-space: nowrap;
    font-size: 0.8rem;
}

.status-open {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    color: #166534;
    background: #dcf6e4;
    border-radius: 999px;
    font-weight: 700;
}

.service-priority,
.service-economy {
    display: inline-block;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    font-weight: 700;
}

.service-priority {
    color: #0755a5;
    background: #e1efff;
}

.service-economy {
    color: #6a2eb8;
    background: #f0e6ff;
}

.select2-container {
    width: 100% !important;
}

@media (max-width: 1199px) {
    .filter-grid {
        grid-template-columns: repeat(4, minmax(120px, 1fr));
    }

    .procedure-gallery.five {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .site-nav .navbar-collapse {
        padding: 0.75rem 0;
    }

    .signup-grid,
    .login-wrap {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        width: 100%;
    }

    .admin-main {
        margin-left: 0;
    }

    .metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .metric {
        border-bottom: 1px solid var(--dsl-border);
    }
}

@media (max-width: 767px) {
    .page-shell {
        width: min(100% - 24px, 1320px);
    }

    .feature-list,
    .procedure-gallery,
    .procedure-gallery.five,
    .filter-grid,
    .metric-grid {
        grid-template-columns: 1fr;
    }

    .cta-strip {
        align-items: flex-start;
        flex-direction: column;
    }

    .procedure-step {
        grid-template-columns: 1fr;
    }

    .calendar-grid {
        min-width: 760px;
    }

    .calendar-card {
        overflow-x: auto;
    }

    .admin-content {
        padding: 1rem;
    }

    .admin-top {
        justify-content: flex-start;
        padding: 0.75rem 1rem;
    }
}
