/* ===================================================
   DSI Fleet Documents
   dsi.css
=================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", Arial, Helvetica, sans-serif;
    background: #eef3f8;
    color: #2f3b45;
    line-height: 1.5;
}

/* ==========================
   Header
========================== */

header {

    background: #FFFFFF;

    color: #111111;

    text-align: center;

    padding: 30px 20px;

    border-bottom: 6px solid #C8102E;

    box-shadow: 0 4px 12px rgba(0,0,0,.15);

}

.logo {
    width: 280px;
    max-width: 80%;
    height: auto;
    display: block;
    margin: 0 auto 15px;
}

/* Tablets */
@media (max-width: 768px) {

    header {
        padding: 25px 15px;
    }

    .logo {
        width: 220px;
    }

    header h1 {
        font-size: 1.8rem;
    }

    header p {
        font-size: .95rem;
    }

}

/* Phones */
@media (max-width: 480px) {

    header {
        padding: 20px 15px;
    }

    .logo {
        width: 180px;
    }

    header h1 {
        font-size: 1.45rem;
    }

    header p {
        font-size: .85rem;
    }

}

header h1 {

    color: #111111;

    font-size: 2.3rem;

    margin-bottom: 8px;

    font-weight: 700;

    letter-spacing: .5px;

}

header p {

    color: #555555;

    font-size: 1rem;

    font-weight: 500;

}

h2 {
    color: #003B70;
    margin-bottom: 18px;
    font-size: 1.45rem;
    font-weight: 600;
}

.section-divider {
    margin: 35px 0;
    border-top: 2px solid #e5e7eb;
}

.search-area {
    position: sticky;
    top: 0;
    background: white;
    padding-bottom: 15px;
    margin-bottom: 10px;
    z-index: 100;
}

.search-box {
    width: 100%;
    padding: 15px 18px;
    border: 1px solid #cfd8e3;
    border-radius: 10px;
    font-size: 17px;
    transition: all .2s ease;
}

.search-box:focus {
    outline: none;
    border-color: #005A9C;
    box-shadow: 0 0 8px rgba(0,90,156,.20);
}

.doc-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.doc-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    background: #f8fafc;
    border-left: 6px solid #005A9C;
    border-radius: 10px;
    transition: .2s;
    animation: fadeIn .25s ease;
}

.doc-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

.doc-title {
    font-size: 19px;
    font-weight: 600;
    color: #003B70;
}

.doc-item small {
    color: #6b7280;
    display: block;
    margin-top: 4px;
}

.insurance {
    background: #f3fff5;
    border-left-color: #28a745;
}

.insurance .doc-title {
    color: #218838;
}

.insurance .btn {
    background: #28a745;
}

.insurance .btn:hover {
    background: #1e7e34;
}

.btn {
    background: #005A9C;
    color: white;
    text-decoration: none;
    padding: 11px 24px;
    border-radius: 8px;
    font-weight: 600;
    transition: .2s;
    white-space: nowrap;
}

.btn:hover {
    background: #003B70;
}

footer {
    text-align: center;
    color: #6b7280;
    margin: 40px 0 20px;
    font-size: .9rem;
}

#topBtn {
    display: block;
    margin: 40px auto;
    background: #C8102E;
    color: white;
    border: none;
    border-radius: 50px;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s ease;
    box-shadow: 0 8px 20px rgba(0,0,0,.20);
}

#topBtn:hover {
    background: #8F0F23;
    transform: translateY(-3px);
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-thumb {
    background: #005A9C;
    border-radius: 50px;
}

::-webkit-scrollbar-track {
    background: #eef3f8;
}

@media (max-width:768px) {
    .container {
        margin: 20px;
        padding: 20px;
    }

    .doc-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    header h1 {
        font-size: 1.8rem;
    }

    #topBtn {
        width: 90%;
        padding: 16px 20px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* =========================================
   DSI OPS Navigation Button
========================================= */

.header-nav{
    display:flex;
    justify-content:flex-end;
    margin-bottom:20px;
}

.back{
    display:inline-flex;
    align-items:center;
    gap:9px;
    background:#C8102E;
    color:#fff;
    padding:10px 16px;
    border-radius:9px;
    text-decoration:none;
    font-weight:700;
    transition:all .2s ease;
    box-shadow:0 4px 12px rgba(0,0,0,.15);
}

.back:hover{
    background:#8F0F23;
    transform:translateY(-2px);
}

.home-icon{
    width:15px;
    height:13px;
    position:relative;
    border:2px solid currentColor;
    border-top:0;
    margin-top:4px;
}

.home-icon::before{
    content:"";
    position:absolute;
    width:10px;
    height:10px;
    border-left:2px solid currentColor;
    border-top:2px solid currentColor;
    transform:rotate(45deg);
    left:0;
    top:-6px;
}