﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700&display=swap');

html, body {
    font-size: 14px;
    height: 100%;
}

body {
    font-family: 'Poppins', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}

.ship4meprimary {
    background-color: white !important;
}

.fontShip4MePrimary {
    color: #063146;
}

.fontShip4MeSecondary {
    color: #0B587F;
}

.fontShip4MePrimaryHover {
    color: #063146;
}

    .fontShip4MePrimaryHover:hover {
        color: #0B587F;
    }

.fontShip4MePrimaryWhiteHover {
    color: white;
}

    .fontShip4MePrimaryWhiteHover:hover {
        color: white;
        font-weight: bolder;
    }

.btn-primary {
    background-color: #063146 !important;
}

    .btn-primary:hover {
        background-color: #0B587F !important;
    }

.navbar-toggler {
    border: none;
}

.navbar-toggler-icon {
    filter: invert(1); /* makes the hamburger icon white */
}

/* Custom search box styling */
.search-box {
    position: relative;
    width: 240px;
}

    .search-box input {
        width: 100%;
        height: 50px;
        padding-right: 90px; /* space for the button */
    }

    .search-box button {
        position: absolute;
        top: 0;
        right: 0;
        height: 100%;
        width: 80px;
        font-size: 16px;
        padding: 10px;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
    }

/* Smaller on mobile */
@media (max-width: 992px) {
    .search-box {
        width: 100%;
    }
}

.shadow-box {
    background-color: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    min-width: 100px;
    text-align: center;
}

.timeline-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    padding-left: 25px;
}

    /* Vertical line */
    .timeline-container::before {
        content: "";
        position: absolute;
        left: 12px;
        top: 0;
        bottom: 0;
        width: 2px;
        background: #ccc;
    }

.timeline-item {
    display: flex;
    align-items: center;
}

.timeline-icon {
    width: 25px;
    height: 25px;
    background: #0d6efd;
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    z-index: 2;
}

.timeline-content {
    font-size: 14px;
}

/* Desktop - horizontal at >= 768px */
@media (min-width: 768px) {
    .timeline-container {
        flex-direction: row;
        justify-content: space-between;
        padding-left: 0;
    }

        .timeline-container::before {
            top: 50%;
            left: 0;
            right: 0;
            height: 2px;
            width: 100%;
        }

    .timeline-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        position: relative;
    }

        .timeline-item .timeline-icon {
            margin-right: 0;
            margin-bottom: 10px;
        }
}

.form-control[readonly] {
    background-color: #e9ecef;
    opacity: 1;
}

.stepper {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding-top: 50px;
}

    .stepper .line {
        position: absolute;
        top: 55px;
        left: 0;
        right: 0;
        height: 2px;
        background: #e0e0e0;
        z-index: 0;
    }

.step {
    position: relative;
    flex: 1;
    text-align: center;
    z-index: 1;
}

.dot {
    width: 14px;
    height: 14px;
    background: #063146;
    border-radius: 50%;
    display: inline-block;
    margin-bottom: 8px;
}

.label {
    display: block;
    font-size: 14px;
    color: #333;
}

.step.active .label {
    color: #dc3545;
    font-weight: 600;
}

/* PIN */
.pin {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 28px;
    color: #0B587F;
}

.captcha-container {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}


.table thead tr th {
    font-size: 16px; /* Bootstrap fs-5 equivalent */
    color: #063146;
    text-align: center !important;
}

.table tbody tr th {
    text-align: left !important;
}

.table tbody tr td {
    text-align: left !important;
}