@charset "ISO-8859-1";

.cancelled, .cancelled:hover {
    text-decoration: line-through;
}
dl.row dt {
    margin: 0 3px 0 0;
}
dl.row dd {
    margin: 0;
    padding: 0;
}

.page-footer {
    margin-top: 1em;
}

.job-previews figure figcaption {
    font-size: .8em;
}

#orderForm .card {
    font-size: .8em;
}

#orderForm .card-header {
    font-size: 1em;
}

/*
Dropzone
*/
.dz-progress {
    top: 10px !important;
}

.dz-details {
    font-size: .8rem;
}

.dropzone .dz-preview .dz-image{
    min-width: 300px;
    min-height: 200px;
    width: unset;
    height: unset;
}

/* Loading Spinner */
#loadingSpinner {
    display: none;
    position: fixed;
    z-index: 9999;
    height: 2em;
    width: 2em;
    overflow: show;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

/* Validation Feedback */
.is-invalid {
    border-color: #dc3545;
}

.is-invalid ~ .invalid-feedback {
    display: block;
}

.invalid-feedback {
    color: #dc3545;
    display: none;
}
.masonry-grid {
    column-count: 4; /* Default number of columns */
    column-gap: 1rem; /* Space between columns */
}
.masonry-grid-item {
    break-inside: avoid;
    margin-bottom: 1rem;
}
.card-footer {
    background-color: #f8f9fa; /* Light background for contrast */
    border-top: 1px solid #dee2e6; /* Border for separation */
    font-size: 0.9rem;
    padding: 0.5rem;
    border-radius: 0 0 0.375rem 0.375rem; /* Match Bootstrap border radius */
}
.no-bottom-radius {
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    border-top-left-radius: 0.375rem; /* Keep the top rounded */
    border-top-right-radius: 0.375rem;
}

.btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .masonry-grid {
        column-count: 3; /* Reduce columns for smaller screens */
    }
}
@media (max-width: 992px) {
    html, body {
        font-size: 34px;
    }
    .container, .container-fluid {
        max-width: 100% !important;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .masonry-grid {
        column-count: 2; /* Further reduce columns for tablets */
    }
}
@media (max-width: 768px) {
    .container, .container-fluid {
        max-width: 100% !important;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    .masonry-grid {
        column-count: 1; /* Single column for mobile screens */
    }
}

@media (max-width: 768px) {
    html, body {
        font-size: 17px;
    }
    .form-group,
    .form-control,
    .form-select,
    .form-label {
        font-size: 1rem;
    }
    .card h4, .card h5 {
        font-size: 1.1rem;
    }
    .card-header {
        padding: 0.75rem 1rem;
    }
    .btn {
        font-size: 0.95rem;
        padding: 0.5rem 0.75rem;
    }
    .table th, .table td {
        font-size: 0.9rem;
        padding: 0.4rem;
    }
    label.col-form-label {
        font-size: 0.9rem;
    }
    .modal .modal-dialog {
        max-width: 90%;
        margin: 1rem auto;
    }
    .masonry-grid {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
        justify-content: center;
    }
    .masonry-grid-item {
        width: 100%;
        max-width: 200px;
    }
    .no-bottom-radius {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
}

.calculator {
    display: none;
    position: absolute;
    z-index: 1000;
    background: #9ab;
    border: 1px solid #678;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-size: 12px;
    width: 160px;
}

.calculator .display {
    width: calc(100% - 10px);
    padding: 5px;
    font-size: 12px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    background-color: #def;
}

.calculator .button-row {
    display: flex;
    justify-content: space-between;
}

.calculator button {
    width: 30px;
    height: 30px;
    margin: 2px;
    font-size: 12px;
    border-radius: 3px;
    border: 1px solid #ccc;
    background: #678;
    color: #eee;
    transition: background 0.3s ease;
}

.calculator button:hover {
    background: #ddd;
}

/* Mobile-friendly adjustments */
@media (max-width: 600px) {
    .calculator {
        width: 120px;
        font-size: 10px;
    }

    .calculator button {
        width: 25px;
        height: 25px;
        font-size: 10px;
    }

    .calculator .display {
        font-size: 10px;
    }
}

.ui-autocomplete {
    background-color: white;
    border: 1px solid #ccc;
    max-height: 200px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1000 !important;
    position: absolute;
    cursor: default;
}
.ui-menu-item-wrapper {
    padding: 8px;
    font-size: 0.9em;
    color: #333;
}

.navbar-collapse.show .nav-link,
.navbar-collapse.show .dropdown-item {
    font-size: 2rem;
    padding: 0.75rem 1.25rem;
}

.navbar-collapse.show .navbar-brand {
    font-size: 1.5rem;
}

