﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    margin-bottom: 60px;
    background-position: initial;
    background-repeat: no-repeat;
    background-size: cover;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  /* Set the fixed height of the footer here */
  height: 60px;
  line-height: 60px; /* Vertically center the text there */
}
.control-label {
    font-weight: bold;
}
.button-link {
    background: none !important;
    border: none;
    text-decoration: underline;
    cursor: pointer;
    color: black;
    font-weight: bold;
}

    .navbar-nav .nav-link {
        font-size: 0.8rem;
    }

.shift-left {
    margin-left: -15px !important;
    width: 90% !important;
}

.messageBoard {
    height: 100px;
    width: 100%;
    background-color: #eeeeee;
    overflow-y: auto;
    overflow-x: hidden;
    float: left;
    display: inline;
    position: relative;
    align-self: center;
    margin: 3px 0px 10px 3px;
}

.border-all-primary {
    border: 0.25rem solid #d2b48c !important;
}

/*billing ui*/

.checkout-card {
    border: 1px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background: #fff;
    overflow: hidden;
}

.checkout-header {
    background: #0d6efd;
    color: #fff;
    text-align: center;
    padding: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.checkout-body {
    padding: 1.5rem;
}

    .checkout-body p {
        margin-bottom: 0.5rem;
        font-size: 1rem;
    }

.checkout-summary {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
}

.address-section {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
}

.address-block {
    flex: 1 1 48%;
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    min-width: 280px;
    position: relative;
}

    .address-block h6 {
        font-weight: 600;
        color: #0d6efd;
        margin-bottom: 0.5rem;
    }

    .address-block p {
        margin-bottom: 0.3rem;
    }

.address-icon {
    font-size: 1.3rem;
    color: #198754;
    position: absolute;
    top: -12px;
    right: 15px;
    background: #f8f9fa;
    padding: 0 6px;
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
}

.payment-options {
    background: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1.5rem;
}

    .payment-options h6 {
        font-weight: 600;
        color: #0d6efd;
        margin-bottom: 0.75rem;
    }

    .payment-options label {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 1rem;
        cursor: pointer;
        margin-bottom: 0.5rem;
    }

    .payment-options input[type="radio"] {
        accent-color: #0d6efd;
        transform: scale(1.2);
    }

.total-amount {
    font-size: 1.5rem;
    font-weight: bold;
    color: #0d6efd;
    text-align: right;
    margin-top: 1rem;
}

.checkout-footer {
    padding: 1.5rem;
    text-align: center;
}

    .checkout-footer .btn {
        font-size: 1.1rem;
        padding: 0.7rem 2rem;
        border-radius: 8px;
    }

.btn-back {
    background: #6c757d;
    color: white;
    border: none;
}

    .btn-back:hover {
        background: #5a6268;
    }

.btn-pay {
    background: #198754;
    color: white;
    border: none;
}

    .btn-pay:hover {
        background: #157347;
    }

.payment-icons {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.payment-icon {
    width: 50px;
    height: 30px;
    background: #e9ecef;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: bold;
    color: #495057;
}

@media (max-width: 768px) {
    .checkout-card {
        margin: 1rem;
    }

    .address-section {
        flex-direction: column;
    }

    .total-amount {
        text-align: center;
    }
}
.custom-blue {
    background-color: #1e90ff;
    color: white;
}

.custom-blue:hover {
    background-color: #187bcd;
}
.custom-blue-text {
    color: #187bcd; /* You can change this to any blue */
}
.anchor-like-btn {
    background: none;
    border: none;
    color: #007bff;
    padding: 0;
}

    .anchor-like-btn:hover {
        text-decoration: underline;
    }

.service-type-group {
    display: flex;
    gap: 10px;
}

    .service-type-group label {
        min-width: 120px;
        text-align: center;
        padding: 6px 12px;
        border: 1px solid #ccc;
        cursor: pointer;
        white-space: nowrap;
    }

    .service-type-group input[type="radio"] {
        display: none;
    }

        .service-type-group input[type="radio"]:checked + label {
            background-color: #0d1fd1;
            color: #fff;
            border-color: #0d1fd1;
        }

/* ================================
   Responsive Schedule Tables
   (Guard / Patrol)
================================ */

/* Small devices (mobile) */
@media (max-width: 576px) {

    .schedule-table thead {
        display: none;
    }

    .schedule-table tbody tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid #dee2e6;
        border-radius: 6px;
        background: #fff;
        padding: 0.5rem;
    }

    .schedule-table tbody td {
        display: flex;
        justify-content: space-between;
        padding: 0.4rem 0.6rem;
        border: none;
        border-bottom: 1px solid #e9ecef;
        font-size: 0.95rem;
    }

        .schedule-table tbody td:last-child {
            border-bottom: none;
        }

        .schedule-table tbody td::before {
            content: attr(data-label);
            font-weight: bold;
            color: #495057;
        }
}

/* Slightly tighten table spacing everywhere */
.schedule-table {
    margin-bottom: 1.5rem;
    margin: auto; /* center */
}

    .schedule-table th,
    .schedule-table td {
        vertical-align: middle;
        white-space: nowrap;
    }
.security-tab.active {
    color: #ffff !important;
    background-color: #0D1FD1 !important;
    border-color: #dee2e6 #dee2e6 #fff !important;
}
.btn btn-sm btn-primary {
    background-color: #0D1FD1 !important;
}
#securityTabs .nav-item {
    margin-right: 10px;
}
/* FORCE TABLE HEADERS TO SHOW ON MOBILE */
/* container */
.schedule-header,
.schedule-row {
    display: flex;
    border-bottom: 1px solid #dee2e6;
    background: #fff;
}

/* header */
.schedule-header {
    font-weight: 600;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

/* columns */
/* ===== Base column ===== */
.sch-col {
    padding: 5px 10px; /* a bit more horizontal padding for label feel */
    white-space: nowrap;
    border-right: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border-radius: 4px; /* rounded corners */
    box-sizing: border-box; /* keep sizing consistent */
    min-width: 70px; /* optional: consistent width */
    text-align: center; /* center text */
    font-size: 12px;
}


    /* normalize input / select / button height */
    .sch-col .form-control,
    .sch-col select,
    .sch-col button {
        height: 38px;
        font-size: 12px;
        box-sizing: border-box;

    }

    /* ===== Single source of truth for widths ===== */
    .sch-col.sl,
    .patrol-sl {
        width: 90px;
        font-weight: 500;
        font-size: 14px;
    }

    .sch-col.hrs {
        width: 70px;
        font-weight: 500;
        font-size: 14px;
    }

    .sch-col.start,
    .patrol-start {
        width: 100px;

    }

    .sch-col.shift,
    .patrol-shift {
        width: 130px;
    }

    .sch-col.loc,
    .patrol-loc {
        width: 100px;
    }

    .sch-col.action,
    .patrol-action {
        width: 90px;
    }

/* ===== Patrol-specific visuals ===== */
.patrol-sl input {
    text-align: center;
    font-weight: 600;
    background-color: #f8f9fa;
}

.sch-col.start input,
.patrol-start input {
    justify-content: flex-start !important;
    text-align: left;
}

.add-action-shift {
    margin-right: 70px; /* move left */
}
.add-action-shiftPat {
    margin-right: 140px; /* move left */
}

/* header & rows shrink to columns */
.schedule-header,
.schedule-row {
    width: max-content;
}

/* horizontal scroll wrapper */
.schedule-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* remove fake last column */
.sch-col:last-child {
    border-right: none;
}

/* mobile tweaks */
@media (max-width: 768px) {
    .add-action-shift {
        margin-right: 180px;
    }
    .add-action-shiftPat {
        margin-right: 190px;
    }
}




