@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html,
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: #f3f4f7;
}

h1:focus {
    outline: none;
}

a,
.btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;
}


.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI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
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.btn-square {
    border-radius: 0;
    background-color: #a5773a;
    padding: 8px 16px;
}

    .btn-square:hover {
        background-color: #8b4513;
    }


.confirmCollectionBtn {
    border-radius: 0;
    background-color: #28a745;
    padding: 8px 16px;
    color: white;
}

    .confirmCollectionBtn:hover {
        background-color: #218838;
    }

.confirmDeliveryBtn {
    border-radius: 0;
    background-color: #007bff;
    padding: 8px 16px;
    color: white;
}

.confirmDeliveryBtn i {
   margin-right:10px;
}

    .confirmDeliveryBtn:hover {
        background-color: #0069d9;
    }


.custom-map-button {
    border: 1px solid #ccc;
    transition: all 0.3s ease;
}

    .custom-map-button:hover {
        background-color: #f8f9fa;
        border-color: #bbb;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

.order-delivered {
    background-color: #d4edda;
    border-left: 5px solid #155724;
    padding-top: 18px;
    padding-bottom: 1px;
    color: #155724;
}

.order-out-for-delivery {
    background-color: #efffda;
    border-left: 5px solid #cfd175;
    padding-top: 18px;
    padding-bottom: 1px;
    color: #484e1d;
}

.cancellation-banner {
    background-color: #ef2135a6;
    color: white;
    padding: 10px 0;
    text-align: center;
    font-size: 18px;
}

.navigate-google-margin {
    margin-top: 80px;
    display: inline-block;
}

.login-page {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    background: #F3F4F7;
    padding: 24px;
    border-radius: 8px;
}

/* Header Section Login screen */
.header {
    width: 100%;
    height: 300px;
    background: #4a476eb5;
    position: relative;
    border-radius: 8px 8px 0 0;
    z-index: 1;
}

.header-overlay {
    width: 100%;
    background: url('../images/map_lines_minimal.png') center/cover;
    position: absolute;
    top: 0;
    left: 0;
}

.logo-container {
    position: absolute;
    left: 20px;
    bottom: 80px;
}

.logo-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    color: #FFFFFF;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.logo-subtitle {
    font-size: 18px;
    line-height: 1.2;
    color: #FFFFFF;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Login Container */
.login-container {
    width: 100%;
    margin-top: 300px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #F3F4F7;
    border-radius: 8px;
}

/* Login greeting */
.greeting {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    color: #17181C;
}

/* Login greeting */
.greeting-subtitle {
    font-size: 16px;
    color: #454954;
}

/* Input Groups */
.input-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    gap: 12px;
}

    .input-group label {
        font-size: 16px;
        line-height: 1.2;
        color: #17181C;
    }

.input-container {
    width: 100%;
    display: flex;
    align-items: center;
    position: relative;
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}
    .input-container input {
        width: 100%;
        border: 2px solid #171C19;
        outline: none;
        padding: 12px 16px;
        font-size: 16px;
        line-height: 1.2;
        color: #454954;
        background: transparent;
        box-sizing: border-box;
        border-radius: 4px;
        transition: box-shadow 0.3s ease-in-out, border-color 0.3s ease-in-out;
    }

        .input-container input:focus {
            border-color: #4A476E;
            box-shadow: 0 0 5px rgba(74, 71, 110, 0.5);
        }




.toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    outline: none;
    padding: 5px;
}

    .toggle-password img {
        width: 20px;
        height: 20px;
    }

/* Button Group */
.button-group {
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px;
    font-size: 16px;
    line-height: 1.2;
    border-radius: 6px;
    text-align: center;
    cursor: pointer;
}

.btn-reset {
    width: 45%;
    border: 2px solid #171C19;
    color: #171C19;
    background: none;
}

    .btn-reset:hover {
        background: #f0f0f0;
    }

.btn-signin {
    width: 70%;
    color: #FFFFFF;
    background: #171C19;
    border: none;
}

    .btn-signin:hover {
        color: #FFFFFF;
        background: #171C19;
    }

.login-form {
    width: 100%
}

.input-group,
.button-group {
    margin-bottom: 20px;
}


    .input-group label {
        font-weight: bold;
        font-size: 16px;
        color: #17181C;
    }

/*Scan-code page*/

.custom-navbar {
    background-color: #4A476E;
    padding: 35px 5px 10px 5px;
    border-bottom: 1px solid #e7e7e7;
}

.container-fluid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-left {
    display: flex;
    align-items: center;
}

.navbar-right {
    display: flex;
    align-items: center;
}

.nav-link {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 18px;
    display: flex;
    align-items: center;
}

    .nav-link i {
        margin-right: 8px;
    }

    .nav-link:hover {
        text-decoration: underline;
        color: #FFFFFF;
    }

.scan-barcode-page {
    background-color: #E3E6ED;
    padding: 35px 5px 10px 5px;
    height: 100vh;
}


.nav-icon {
    margin-right: 8px;
    width: 26px;
    height: 30px;
    padding: 4px;
    vertical-align: middle;
    border-radius: 4px;
}


.scanner-container {
    align-items: center;
    height: 60vh;
    text-align: center;
    padding-top:25px;
}

.instructions {
    text-align: center;
    font-size: 15px;
    margin-bottom: 20px;
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 20px;
}


.error-div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 5px;
    padding-top: 20px;
}

.error-message {
    color: #FF0000;
    background-color: #FFEDED;
    padding: 10px;
    border: 1px solid #FF0000;
    border-radius: 5px;
    margin-bottom: 10px;
}

.meal-order-detail-page {
    background-color: #E3E6ED;
    color: #4A476E;
    height: 100vh;
}


.meal-order-detail-navbar {
    background-color: #E3E6ED;
    padding: 35px 5px 10px 5px;
    border-bottom: 1px solid #c0c5d3;
}

.nav-title-dark {
    font-size: 19px;
    font-weight: bold;
    color: black;
}


.nav-link-dark {
    color: black;
    text-decoration: none;
    font-size: 15px;
    display: flex;
    align-items: center;
}

    .nav-link-dark:hover {
        text-decoration: underline;
        color: black;
    }

.svg-icon {
    margin-right: 8px;
    width: 26px;
    height: 30px;
    padding: 4px;
    vertical-align: middle;
    border-radius: 4px;
    color: black;
}

.svg-icon-small {
    margin-left: 10px;
    width: 23px;
    height: 28px;
    padding: 4px;
    vertical-align: middle;
    border-radius: 4px;
    color: black;
}

.back-link {
    padding: 20px 10px;
}

.order-container {
    padding: 20px 10px 5px 10px;
    border: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #FFFFFF;
}

.status-button-container {
    padding: 20px 10px;
    border: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #FFFFFF;
    margin-top: 2px;
}

.current-order {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    padding: 0px 5px 14px 5px;
    box-sizing: border-box;
}

.order-content {
    display: flow;
    justify-content: space-between;
}

.order-details, .order-map {
    flex: 1;
    padding: 0 10px; 
}


.order-details {
    margin-bottom: 20px;
    text-align: center;
}

.order-id {
    font-size: 18px;
    color: #888;
    margin-bottom: 0px;
}

.order-details h2 {
    margin: 0;
    font-size: 36px;
    font-weight: bold;
}

.order-status {
    display: inline-flex;
    align-items: center;
    font-weight: bold;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 8px;
}

.dot {
    background-color: orange;
}

.update-status-label {
    display: inline-flex;
    align-items: center;
    font-weight: bold;
    margin-top: 10px;
    font-size: 14px;
    color: #17181C;
}

.order-date, .order-time {
    display: flex;
    align-items: center;
    margin: 5px 0;
}

    .order-date i, .order-time i {
        margin-right: 5px;
    }

.order-map {
    text-align: center;
    margin-bottom: 20px;
}

.status-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    width: 100%;
}

.btn-status {
    width: 100%;
    padding: 15px 20px;
    font-size: 20px;
    border-radius: 8px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-align: center;
}

.btn-status-svg-icon {
    width: 32px;
    height: 30px;
    padding: 4px;
    vertical-align: middle;
    border-radius: 4px;
    color: black;
}


.delivered {
    background-color: #6FCD01;
    color: #FFFFFF;
}

.returned {
    background-color: #FD2C2C;
    color: #FFFFFF;
}

.map-container {
    height: 125px;
    width: 100%; 
    border-radius: 8px;
    margin-top: 10px;
}
.bottom-button {
    margin-top: auto;
    text-align: center;
    padding-top: 20px;
    display:contents;
}


.map-button {
    border: 1px solid #ccc;
    transition: all 0.3s ease;
    background-color: #4683FC;
    color: #FFFFFF;
    padding: 6px;
}

    .map-button:hover {
        background-color: #4683FC;
        color: #FFFFFF;
    }

.map-svg-icon {
    width: 32px;
    height: 30px;
    padding: 4px;
    vertical-align: middle;
    border-radius: 4px;
    color: black;
}


.order-info {
    text-align: center;
    margin-top: 20px;
}

.order-number {
    font-size: 36px;
    font-weight: bold;
}

.details-button-container {
    margin-top: 20px;
    text-align: center;
    display: grid;
    padding: 10px;
}

.btn-details {
    background-color: #000;
    color: #fff;
    padding: 10px 20px;
    font-size: 18px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
}

.scan-label {
    font-size: 24px;
    font-weight: bold;
    color: #000;
    text-align: center;
}

.reason-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.reason-item {
    display: flex;
    align-items: center;
    margin: 15px 15px 0px 15px;
    padding: 10px 15px;
    background-color: #fff;
    border: 2.5px solid black;
    border-radius: 10px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
}

    

    .reason-item input[type="radio"] {
        margin-right: 10px;
    }
.btn-submit {
    background-color: #17181C;
    color: #fff;
    font-size: 18px;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    padding: 20px;
}

    .btn-submit:hover {
        color: #17181C;
    }

.submit-button-container {
    margin: 15px 15px 0px 15px;
    text-align: center;
    display: grid;
}



input[type="radio"] {
    width: 25px; 
    height: 25px;
    accent-color: #4A476E;
}


.reason-item label {
    font-size: 18px; 
    font-weight: bold; 
    margin-left: 10px; 
}


input[type="radio"]:checked {
    accent-color: #4A476E;
}


input[type="radio"]::before {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background-color: white;
    border: 2px solid #ddd;
}

input[type="radio"]:checked::before {
    border-color: blue;
}

input[type="radio"]:checked::after {
    display: block;
    content: '';
    width: 15px;
    height: 15px;
    margin: 5px;
    border-radius: 50%;
    background-color: #4A476E;
}

input[type="radio"]:hover,
input[type="radio"]:hover::before,
input[type="radio"]:hover::after {
    background-color: transparent;
    border-color: #ddd;
}


.moving-dashed-boarder {
    width: 342px; 
    height: 251px;
    background: linear-gradient(90deg, green 50%, transparent 50%), linear-gradient(90deg, green 50%, transparent 50%), linear-gradient(0deg, green 50%, transparent 50%), linear-gradient(0deg, green 50%, transparent 50%);
    background-repeat: repeat-x, repeat-x, repeat-y, repeat-y;
    background-size: 16px 4px, 16px 4px, 4px 16px, 4px 16px;
    background-position: 0% 0%, 100% 100%, 0% 100%, 100% 0px;
    border-radius: 5px;
    animation: dash 20s linear infinite;
}

@keyframes dash {
    to {
        background-position: 100% 0%, 0% 100%, 0% 0%, 100% 100%;
    }
}