/* Super admin viewing indicator */
.super-viewing { background-color: orange !important; }

/* Portal accent color utilities */
.portal-accent-bg { background-color: var(--portal-accent) !important; }
.portal-accent-bg:hover { filter: brightness(0.9); }
.portal-accent-text { color: var(--portal-accent) !important; }
.portal-accent-border { border-color: var(--portal-accent) !important; }
.sidebar-nav-active { background-color: var(--portal-accent) !important; }

/* Signature styling for modals */
.signature span, .deposit span, .modal-body .heading span {
    font-size: 20px;
    color: #1F1A29;
    font-weight: 600;
}

/* Rotate animation for loading spinner */
.rotate-refresh {
    -webkit-animation: mymove .8s infinite linear;
    animation: mymove .8s infinite linear;
    display: inline-block;
    transform: scaleX(-1);
}
@-webkit-keyframes mymove {
    0% { -webkit-transform: rotate(0deg) scaleX(-1); transform: rotate(0deg) scaleX(-1); }
    100% { -webkit-transform: rotate(360deg) scaleX(-1); transform: rotate(360deg) scaleX(-1); }
}
@keyframes mymove {
    0% { -webkit-transform: rotate(0deg) scaleX(-1); transform: rotate(0deg) scaleX(-1); }
    100% { -webkit-transform: rotate(360deg) scaleX(-1); transform: rotate(360deg) scaleX(-1); }
}

/* SweetAlert custom styling */
.swal-delete-attachments .swal2-actions {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}
@media (max-width: 480px) {
    .swal-delete-attachments .swal2-actions .btn { width: 100% !important; }
}
.swal-delete-attachments .swal2-html-container { margin: 10px 0; }

/* Mobile hamburger menu toggle */
#mobile-menu-overlay.active { display: block; }
#mobile-sidebar.active { transform: translateX(0); }

/* Deposit styling */
.deposit .prop-note {
    font-size: 1rem;
    font-weight: 400;
    background-color: #e6f1fb;
    padding: 2px 4px;
    border-radius: 8px;
}
.deposit strong { font-weight: 600; }

/* Request changes view */
.request-card {
    background-color: #F8F8F8;
    border-radius: 8px;
    border: 1px solid #E0E0E0;
}
.request-changes-view .request-card { background-color: #F8F8F8 !important; border-radius: 8px !important; }
.request-changes-view .request-card-header { background-color: #F8F8F8; border-bottom: none; padding: 0.75rem 1.5rem 0.22rem; }
.request-changes-view .request-card-header.resolved span { font-size: 0.9rem; font-weight: 600; color: #60b6f8; }
.request-changes-view .request-card-header span { font-size: 0.9rem; font-weight: 600; color: #3F3E3E; }
.request-changes-view .customer-said > div { font-size: 0.9rem; font-weight: 600; color: #3F3E3E; }
.request-changes-view .badge-in-review {
    color: #333; background-color: #fff; border: 1px solid #999;
    padding-left: 8px; padding-right: 8px; font-size: 0.80rem;
}
.request-changes-view .badge-resolved {
    color: #0872a4; background-color: #d3ebf5; border: 1px solid #3E87E1;
    padding-left: 8px; padding-right: 8px; font-size: 0.80rem;
}
.request-changes-view hr { border-top-color: #70BBFA; }
.request-changes-view .request-card-body { padding: 0 1.5rem 0.75rem 1.5rem; }
.request-changes-view .user-resolution { color: #60b6f8; }

/* Pending change request badge */
.pending-change-request-badge {
    padding: 15px 20px;
    background-color: #ffeea9;
}

/* Request changes divider */
hr.request-changes-divider { border-top: 2px solid #3333; }

/* Confirm text */
#confirm-text { font-size: 0.89rem; margin-top: 10px; }

/* Stripe footer image */
img.stripe-footer {
    max-height: 40px;
    padding-right: 35px;
    margin-bottom: 2px;
    opacity: 0.6;
}
@media (max-width: 990px) {
    img.stripe-footer { max-height: 30px; padding-right: 25px; margin-bottom: 5px; }
}

/* Modal sizing */
.modal-lg { max-width: 800px !important; }
.modal-xl { max-width: 1140px !important; }

/* Proposal page styles */
blockquote {
    padding-left: 20px !important;
    padding-right: 8px !important;
    border-left-width: 5px !important;
    font-style: italic;
    font-family: Georgia, Times, "Times New Roman", serif;
    padding: 2px 0;
    border-style: solid;
    border-color: #ccc;
    border-width: 0;
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 40px;
    margin-inline-end: 40px;
}
blockquote p {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}
.marker { background-color: Yellow; }
.line-item-icon { transition: transform 0.3s ease; }
.line-item-icon.rotate-180 { transform: rotate(180deg); }
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.my-gallery { width: 90%; margin: 0 auto; }
img.gallery-thumbnail { max-width: 100%; padding: 15px; display: inline; }
@media (min-width: 576px) {
    img.gallery-thumbnail { width: 200px; }
}
