@import url("https://fonts.googleapis.com/css2?family=Dancing+Script&family=Lato&family=Montserrat&family=Nunito&family=Open+Sans&family=Poppins&family=Raleway&display=swap");

.dashboard-btn {
    margin-left: 5px !important;
    border-radius: 0.25rem !important;
}

.dashboard-btn-add {
    margin-left: 5px !important;
    border-radius: 0.25rem !important;
    background-color: #f8b039 !important;
}

.dashboard-btn-print {
    margin-left: 5px !important;
    border-radius: 0.25rem !important;
    background-color: #ffda9f !important;
    color: black;
    border: none;
}

.table-card {
    overflow: auto;
}

.dashboard-table {
    padding: 0px !important;
}

.dashboard-container {
    max-width: 1500px;
}

.add-btn {
    float: right;
}

.dashboard-title {
    margin-top: 12px;
}

.modal-dialog {
    max-height: 100vh;
    /* Limit modal height */
}

.modal-body {
    max-height: 100vh;
    /* Make body scrollable */
    overflow-y: auto;
}

.btn-close {
    background-color: #ffff;
    border: none !important;
}

.asterisk {
    color: red;
}

.text-bg-warning {
    background-color: #ffc107;
    color: white;
    font-size: 12px;
}

.text-bg-success {
    background-color: #28a745;
    color: white;
    font-size: 12px;
}

.text-bg-danger {
    background-color: #dc3545;
    color: white;
    font-size: 12px;
}

.text-bg-info {
    background-color: #17a2b8;
    color: white;
    font-size: 12px;
}

.badge-dashboard {
    padding: 3px;
    border-radius: 5px;
}

#customers-table  th{ 
    border: 1px solid rgb(173, 173, 173);
    font-weight: bold !important;
    white-space: inherit;
    text-align: center !important;
    color: rgb(80, 80, 80) !important;
}

thead {
    font-weight: bold !important;
}

#customers-table tbody td {
    vertical-align: middle !important;
    font-size: 13px;
    margin-bottom: 0px !important;
    border: 1px solid rgb(173, 173, 173);
}

.reset {
    margin-left: 5px;
    border-radius: 0.25rem !important;
}

.in-progress-icon {
    max-width: 50px;
    display: block;
    margin: 0 auto;
}

.ready-icon {
    max-width: 28px;
    display: block;
    margin: 0 auto;
}

.completed-icon,
.cancelled-icon {
    max-width: 35px;
    display: block;
    margin: 0 auto;
}

.table-striped,
.table thead th {
    font-weight: normal !important;
    font-size: 14px;
}

.dashboard-title {
    font-size: 15px !important;
    vertical-align: middle;
    margin-top: 0px;
}

.default-message {
    text-align: center;
}

th.asc::after {
    content: " 🔼";
    /* Up arrow for ascending */
}

th.desc::after {
    content: " 🔽";
    /* Down arrow for descending */
}

.view-btn {
    background-color: #28a745;
}

.update-btn {
    background-color: #17a2b8;
    border-color: #17a2b8;
}

.delete-btn {
    background-color: #dc3545;
}

.view-btn,
.update-btn,
.delete-btn {
    font-size: 15px;
    font-weight: bold;
    padding: 5px 10px;
}

.view-btn:hover {
    background-color: #fff;
    border-color: #28a745;
    color: #28a745;
}

.update-btn:hover {
    background-color: #fff;
    border-color: #17a2b8;
    color: #17a2b8;
}

.delete-btn:hover {
    background-color: #fff;
    border-color: #dc3545;
    color: #dc3545;
}

#search-form {
    margin-bottom: 0px !important;
}

#search-input {
    padding: 9px !important;
    border-radius: 0.25rem 0 0 0.25rem;
    outline: none !important;
}

.search-btn {
    border-radius: 0 0.25rem 0.25rem 0 !important;
    padding: 8px !important;
}

/* Styles for small screens */
@media (max-width: 768px) {
    /* Adjust the breakpoint as needed */
    #search-form {
        display: flex;
    }

    #search-input {
        width: 150px;
    }
}

@media print {
    /* Customize your print layout */
    .no-print {
        display: none;
    }

    /* Hide the images during print */
    .in-progress-icon,
    .ready-icon,
    .completed-icon,
    .cancelled-icon {
        display: none;
    }

    /* Show the text during print */
    .in-progress-text,
    .ready-text,
    .completed-text,
    .cancelled-text {
        display: block !important;
    }
}

.statistics-bar {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

.nav-bar-div {
    position: sticky;
    top: 0;
    z-index: 999;
}

/* Container that holds the entire statistics content */
.statistics-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: start;
    /* gap: 20px; */
    /* margin-bottom: 20px; */
    max-width: 1200px; /* Limit the width of the whole section */
    /* margin-left: auto;
    margin-right: auto; */
}

/* Record and Payment Status sections */
.record-status,
.payment-status {
    flex: 1;
    min-width: 300px;
    max-width: 500px; /* Maximum width to prevent stretching too far */
}

/* Chart section */
.chart {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .statistics-section {
        flex-direction: column;
        align-items: center;
    }

    .record-status,
    .payment-status,
    .chart {
        width: 100%;
        max-width: 100%;
    }
}

.total-payment {
    margin-bottom: 0px;
}

.icon-w3 {
    font-size: 10rem;
    color: gray;
}

#gearDropdown.dropdown-toggle::after {
    display: none;
}

.brand-display {
    font-style: italic;
    font-size: 30px;
    font-family: "Dancing Script", cursive;
    color: #1f3c88;
    font-weight: 100;
}

.fa-refresh::before,
.fa-gear::before {
    font-size: 25px;
}

#loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    visibility: hidden;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(0, 0, 0, 0.1);
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.error-message {
    margin-top: 0.25rem;
}

@media screen and (max-width: 667px) {
    .shadow-sm {
        padding: 10px !important;
    }

    .card-title,
    .dashboard-title {
        text-align: left !important;
        font-size: 16px !important;
    }

    .card {
        margin: 2px;
    }
}

.password-input-group {
    position: relative; /* Needed for absolute positioning of the eye icon */
}

.password-input-group .show-hide-password {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    padding: 5px;
    background-color: transparent;
    border: none;
}
