.modern-promo-box {
    border: 2px solid #94a3b8;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: transparent;
    margin: 0;
}

.modern-promo-box .modern-promo-box {
    border-width: 0;
    border-right-width: 2px;
    border-radius: 0;
}

.promo-header {
    padding: 16px 12px;
    text-align: center;
    border-bottom: 2px solid #94a3b8;
    background: linear-gradient(to right, #f8fafc, #f1f5f9);
}

.promo-header h2 {
    font-weight: 500;
    font-size: 2.3rem;
    margin: 0;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.promo-processing {
    padding: 14px;
    text-align: center;
    border-bottom: 2px solid #94a3b8;
    background: transparent;
}

.promo-processing p {
    margin: 0;
    color: #0f172a;
    font-size: 1.5rem;
    font-weight: 500;
}

.promo-row {
    display: flex;
    flex-wrap: wrap;
}

.promo-row-1 {
    border-bottom: 2px solid #94a3b8;
}

.promo-item {
    padding: 0px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.promo-item-left {
    border-right: 2px solid #94a3b8;
}

.btn-promo-submit {
    /* font-size: 1.15rem; */
    font-weight: 600;
    padding: 10px 18px;
    border-radius: 6px;
    background-color: #a15350;
    color: white;
    border: none;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    width: 100%;
    max-width: 250px;
}

.btn-promo-submit:hover {
    background-color: #884340;
    transform: translateY(-1px);
    box-shadow: 0 6px 8px -1px rgba(0, 0, 0, 0.3);
}

/* Federal Theme */
.modern-promo-box.federal-theme {
    background: #fff;
    border-color: #94a3b8;
}

.federal-theme .promo-header {
    background: #f6f2ea;
    border-bottom-color: #fff;
    border-bottom: unset;
}

.federal-theme .promo-header h2 span.text-red {
    color: red;
}

.federal-theme .promo-processing {
    border-bottom-color: #fff;
    border-bottom: unset;
}

.federal-theme .promo-row-1 {
    border-bottom-color: #fff;
    border-bottom: unset;
}

.federal-theme .promo-item-left {
    border-right-color: #fff;
    border-right: unset;
}

/* Company Promo Box Theme Variant */
.modern-promo-box.company-theme {
    border-color: #034919;
    background: linear-gradient(to left, #cfecd8, #eeffee);
    box-shadow: 0 6px 15px rgba(3, 73, 25, 0.15);
}

.company-theme .promo-header {
    border-bottom: unset;
    background: transparent;
}

.company-theme .promo-header h2 span.text-red {
    color: red;
}

.company-theme .promo-processing {
    border-bottom: unset;
}

.company-theme .promo-row-1 {
    border-bottom: unset;
}

.company-theme .promo-item-left {
    border-right: unset;
}

.company-theme .btn-promo-submit {
    background-color: #034919;
    box-shadow: 0 4px 6px -1px rgba(3, 73, 25, 0.2);
}

.company-theme .btn-promo-submit:hover {
    background-color: #067e2c;
    box-shadow: 0 6px 8px -1px rgba(3, 126, 44, 0.3);
}

/* Legalization Promo Box Theme Variant */
.modern-promo-box.legalization-promo-box {
    border-color: #4f46e5;
    box-shadow: 0 6px 15px rgba(79, 70, 229, 0.15);
}


.modern-promo-box.legalization-promo-box .promo-header {
    border-bottom-color: #4f46e5;
    background: linear-gradient(to right, #eef2ff, #ede9fe);
}

.modern-promo-box.legalization-promo-box .promo-header h2 {
    color: #312e81;
}

.modern-promo-box.legalization-promo-box .promo-processing {
    border-bottom-color: #4f46e5;
}

.modern-promo-box.legalization-promo-box .promo-row-1 {
    border-bottom-color: #4f46e5;
}

.modern-promo-box.legalization-promo-box .promo-item-left {
    border-right-color: #4f46e5;
}

.modern-promo-box.legalization-promo-box .btn-promo-submit {
    background-color: #4f46e5;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.2);
}

.modern-promo-box.legalization-promo-box .btn-promo-submit:hover {
    background-color: #4338ca;
    box-shadow: 0 6px 8px -1px rgba(67, 56, 202, 0.3);
}

/* Utility Classes for Promos */
.text-navy-dark {
    color: #0f172a;
}

.text-navy-slate {
    color: #1e293b;
}

.text-red-brown {
    color: #a15350;
}

.text-slate-light {
    color: #64748b;
}

.text-slate-dark {
    color: #475569;
}

.text-slate-medium {
    color: #334155;
}

.text-amber {
    color: #d97706;
}

.text-indigo {
    color: #4f46e5;
}

.text-maroon {
    color: #8c2a27;
}

.text-maroon-dark {
    color: #0f172a;
}

.text-indigo-dark {
    color: #312e81;
}

.text-red {
    color: red !important;
}

.text-green-success {
    color: #059669;
}

.font-weight-800 {
    font-weight: 800;
}

.font-weight-700 {
    font-weight: 700;
}

.font-weight-600 {
    font-weight: 600;
}

.font-weight-500 {
    font-weight: 500;
}

.promo-text-lg {
    font-size: 1.45rem;
}

.promo-text-xl {
    font-size: 1.6rem;
}

.promo-text-2xl {
    font-size: 2.4rem;
}

.promo-text-3xl {
    font-size: 3em;
}

.promo-text-sm {
    font-size: 1.05rem;
}

.promo-text-xs {
    font-size: 1rem;
}

.promo-text-base {
    font-size: 1.2rem;
}

.promo-text-md {
    font-size: 1.35rem;
}

.promo-text-title {
    font-size: 2rem;
}

.promo-text-title-sm {
    font-size: 1.8rem;
}

.pricing-text {
    color: #a15350;
    text-shadow: 1px 1px 10px;
}

.dollerSign {
    color: 2px green;
}

@supports ((-webkit-text-stroke: 2px) or (text-stroke: 2px)) {
    .pricing-text {
        -webkit-text-stroke: 2px #a15350;
        -webkit-text-fill-color: transparent;
    }

    .dollerSign {
        -webkit-text-stroke: 2px green;
    }
}

.promo-item-transparent {
    background: transparent !important;
}

.promo-cost-wrapper {
    background: transparent;
    width: 100%;
}

.promo-box-spacing {
    margin-bottom: 30px;
}

.promo-header-main-box {
    margin-bottom: 0 20px 0 20px;
    border: 0 !important;
}

.promo-action-badge {
    color: #059669;
    font-weight: 700;
    background: #d1fae5;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 1rem;
    display: inline-block;
    margin-top: 8px;
}

.promo-action-badge-red {
    color: #b91c1c;
    background: #fee2e2;
}

.text-shadow-sm {
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.legalization-select-custom {
    height: 55px;
    font-size: 1.3rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-weight: 400;
}

.legalization-select-small {
    height: 40px !important;
    font-size: 1.1rem !important;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}


.legalization-label-custom {
    font-weight: 500;
    font-size: 1.35rem;
    display: block;
    text-align: left;
}

.company-order-box {
    position: relative;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.box-remove-btn {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    background: #ef4444;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    border: none;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    z-index: 10;
    opacity: 0.8;
    transition: all 0.2s;
}

.box-remove-btn:hover {
    opacity: 1;
    transform: scale(1.1);
    background: #dc2626;
}


.promo-label-simple {
    font-weight: 500;
    color: #334155;
    font-size: 1.35rem;
    display: block;
    margin-bottom: 8px;
}

/* Calendar Overrides in Promos */
.calendar {
    width: 100%;
    max-width: 1200px;
    max-height: fit-content;
    height: 100vh;
    overflow: auto;
    border-radius: 8px;
    background: transparent;
    position: relative;
    display: flex;
    flex-wrap: wrap;
}

.calendar-header {
    display: flex;
    justify-content: center;
    padding: 5px;
    background-color: #a15350;
    color: white;
    font-weight: 500;
    font-size: 18px;
    grid-column-start: 1;
    grid-column-end: 8;
}

.forCompany .calendar-header {
    background-color: #034919;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 10px;
    gap: 5px;
    text-align: center;
    margin: 10px 10px;
    min-width: 34%;
    box-shadow: 1px 1px 7px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    flex: 1;
}

.day-name,
.day {
    padding: 5px 0;
    border-radius: 5px;
    min-height: 30px;
    vertical-align: middle;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.day {
    cursor: pointer;
    position: relative;
    border: 1px solid darkgray;
    font-weight: bold;
    color: #696088;
    transform: scale(1);
    font-size: 11px;
    background-color: #fff;
}

.day:hover {
    background-color: #e7e7e7;
}

.today {
    background-color: rgb(239, 218, 249) !important;
    color: red !important;
}

.day b {
    color: #1a9240;
    position: absolute;
    left: 3px;
    bottom: -4px;
    font-size: 12px;
    transform: scale(1, 1);
    font-weight: 400;
}

.day b .bd {
    font-size: 8px;
    font-weight: normal;
}

.day.today b {
    color: #fff;
}

.day.businessday {
    background-color: #fbfbc2;
}

.day.holiday-manual {
    background-color: rgb(211, 211, 211);
    color: rgb(136, 136, 136);
    pointer-events: none;
}

.day span.service-name-cale {
    font-size: 0.55em;
    position: absolute;
    top: 0;
    color: #000;
    display: none;
}

.day span.service-name-cale.astrick {
    left: 9px;
}

.day.businessday-yellow {
    background-color: rgb(251, 251, 194);
}

.day.businessday-purple {
    background: rgb(239, 218, 249);
    color: red;
}

.day.black-day {
    background-color: #000 !important;
    color: #fff !important;
    pointer-events: none;
}

.day.shipping-day span.shipping-label {
    font-size: 0.88em;
    position: absolute;
    top: -5px;
    color: #853c3a;
}

.day b .bd.recivie {
    color: blue;
    font-weight: 500;
}

.day.holiday {
    background-color: rgb(211, 211, 211);
}

.day.holiday span {
    position: absolute;
    top: -5;
    /* left: 10px; */
    color: red;
    font-weight: 500;
    font-size: 10px;
}

@media (max-width: 767px) {
    .promo-item {
        width: 100%;
        border-right: none;
    }
}

/* Dynamic Timeline Styles */
.dynamic-timeline-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    padding: 40px;
    text-align: center;
    box-shadow: none;
    height: 100%;
    min-height: 380px;
}

.dynamic-timeline-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #e0e7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.dynamic-timeline-icon i {
    font-size: 3rem;
    color: #4f46e5;
}

.promo-col-right-no-padding {
    padding-right: 0;
}

.federal-step-container {
    background: #fff;
    height: 100%;
    min-height: 480px;
    border: 2px solid #a15350;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(161, 83, 80, 0.1);
}

.federal-upload-trigger {
    border: 2px dashed #a15350;
    background: #fffaf0;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.federal-upload-trigger.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.federal-upload-trigger:hover:not(.disabled) {
    background: #fff5e6;
    border-color: #884340;
}


.legalization-promo-box .promo-header h2 {
    font-size: 1.8rem;
    letter-spacing: -0.01em;
}

.legalization-promo-box .promo-processing {
    text-align: left;
    padding: 25px;
}

.legalization-promo-box .promo-processing p {
    font-size: 1.35rem;
    margin-bottom: 20px;
}

.legalization-promo-box .promo-item-left span,
.legalization-promo-box .promo-item span {
    font-size: 1.25rem;
}

.legalization-promo-box #legalization-time {
    font-size: 1.5rem;
    margin-top: 5px;
}

.legalization-promo-box #legalization-date {
    font-size: 1.6rem;
    margin-top: 5px;
}

.legalization-promo-box .text-slate-medium span {
    font-size: 1.15rem;
}

.legalization-promo-box #legalization-price {
    font-size: 1.6rem;
}

.dynamic-timeline-box h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.dynamic-timeline-box p {
    font-size: 1.35rem;
    line-height: 1.7;
}

/* Federal Upload View Styles */
.federal-upload-view-content {
    background: #fff;
    height: 100%;
    min-height: 400px;
    border: 2px solid #a15350;
}

.federal-upload-header {
    border: none;
    background: transparent;
    padding: 10px 0;
}

.federal-upload-header h2 {
    font-weight: 500;
    font-size: 2rem;
    letter-spacing: -0.01em;
}

/* Company Upload View Styles */
.company-upload-view-content {
    background: #fff;
    height: 100%;
    min-height: 400px;
    border: 2px solid #034919;
}

.company-upload-header {
    border: none;
    background: transparent;
    padding: 10px 0;
}

.company-upload-header h2 {
    font-weight: 500;
    font-size: 2rem;
    letter-spacing: -0.01em;
}

/* Legalization Upload View Styles */
.legalization-upload-view-content {
    background: #fff;
    height: 100%;
    min-height: 400px;
    border: 2px solid #4f46e5;
}

.legalization-upload-header {
    border: none;
    background: transparent;
    padding: 10px 0;
}

.legalization-upload-header h2 {
    font-weight: 500;
    font-size: 2rem;
    letter-spacing: -0.01em;
}

.federal-upload-trigger-modern {
    border: 2px dashed #a15350;
    background: #fffaf0;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.federal-upload-trigger-modern.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.federal-upload-icon {
    font-size: 3rem;
    color: #a15350;
    margin-bottom: 10px;
}

.federal-upload-filename {
    font-size: 1.2rem;
    font-weight: 500;
}

.federal-upload-hint {
    font-size: 1rem;
}

.federal-btn-continue {
    font-size: 1.4rem;
    max-width: none;
    font-weight: 500;
}

.federal-back-link {
    color: #64748b;
    font-size: 1.1rem;
    text-decoration: underline;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.4s ease-out forwards;
}

/* Validation Styles */
.is-invalid {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.1) !important;
}

.validation-error {
    color: #ef4444;
    font-size: 0.9rem;
    margin-top: 4px;
    font-weight: 600;
    text-align: left;
    display: block;
    animation: fadeInUp 0.2s ease-out;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.shake {
    animation: shake 0.2s ease-in-out 0s 2;
}

/* Summary View Styles */
.summary-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 5px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    background: white;
}

.summary-table th {
    background: #f8fafc;
    padding: 15px 12px;
    font-weight: 700;
    color: #1e293b;
    text-align: left;
    border-bottom: 2px solid #e2e8f0;
    font-size: 1.6rem;
}

.summary-table td {
    padding: 15px 12px;
    border-bottom: 1px solid #e2e8f0;
    color: #334155;
    font-size: 1.5rem;
    vertical-align: middle;
}

.summary-table tr:last-child td {
    border-bottom: none;
}

.summary-total-row {
    background: #f1f5f9;
}

.summary-total-row td {
    color: #0f172a;
}

.summary-actions {
    display: flex;
    gap: 12px;
}

.btn-summary-back {
    background: #64748b;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    flex: 1;
    font-size: 1.1rem;
    transition: all 0.2s;
}

.btn-summary-back:hover {
    background: #475569;
}

.btn-summary-submit {
    background: #a15350;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    flex: 2;
    font-size: 1.2rem;
    transition: all 0.2s;
}

.btn-summary-submit:hover {
    background: #884340;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(161, 83, 80, 0.3);
}

.company-theme .btn-summary-submit {
    background: #034919;
}

.company-theme .btn-summary-submit:hover {
    background: #067e2c;
    box-shadow: 0 4px 12px rgba(3, 73, 25, 0.3);
}

.summary-body tr:hover {
    background-color: #f8fafc;
}

@media (max-width: 576px) {
    .summary-actions {
        flex-direction: column-reverse;
    }
}

/* Modals & Previews */
.uploadedFileModal {
    z-index: 999999999999;
    background-color: rgba(0, 0, 0, 0.2);
}

.modal-content-preview {
    height: 90vh !important;
}

.modal-notarized-warning {
    border: 2px solid #8c2a27 !important;
    border-radius: 12px !important;
}

.modal-notarized-header {
    background: #fff5f5 !important;
    border-bottom: 1px solid #fecaca !important;
    border-radius: 10px 10px 0 0 !important;
}

.modal-notarized-body {
    background: #fffdfd !important;
}

.modal-notarized-text {
    font-size: 1.1rem !important;
}

.modal-notarized-checklist-icon {
    font-size: 1.5rem !important;
    width: 35px !important;
}

.modal-notarized-checklist-text {
    font-size: 1.15rem !important;
}

.modal-notarized-footer {
    background: #f8fafc !important;
    border-top: 1px solid #e2e8f0 !important;
    border-radius: 0 0 10px 10px !important;
}

.btn-notarized-acknowledge {
    background: #a15350 !important;
    border: none !important;
}

.company-upload-filename {
    font-size: 1.1rem !important;
}

.company-upload-icon {
    font-size: 2rem !important;
    color: #a15350;
    margin-bottom: 10px;
}

/* Premium Document List Table Styles */
.premium-doc-list-container {
    margin-top: 40px;
    padding: 20px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}

.premium-table-card {
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}

.premium-table-card:hover {
    transform: translateY(-5px);
}

.premium-table-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #0f172a;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: -0.02em;
}

.premium-styled-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
    margin-top: -8px;
}

.premium-styled-table thead th {
    background: #f8fafc;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    padding: 15px 20px;
    border: none;
}

.premium-styled-table thead th:first-child {
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.premium-styled-table thead th:last-child {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.document-row {
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
}

.document-row:hover {
    background: #f1f5f9;
    transform: scale(1.005);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.document-row td {
    padding: 18px 20px;
    border: none;
    vertical-align: middle;
}

.document-row td:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.document-row td:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.doc-name {
    font-size: 1.15rem;
}

.modern-badge {
    background: #e2e8f0;
    color: #475569;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
}

.status-indicator.success {
    background: #dcfce7;
    color: #166534;
}

.status-indicator.warning {
    background: #fef9c3;
    color: #854d0e;
}

.status-indicator.muted {
    background: #f1f5f9;
    color: #94a3b8;
    padding: 4px 10px;
}

.status-indicator i {
    font-size: 1.1rem;
}

.col-id {
    width: 60px;
}

.col-cat {
    width: 220px;
}

.col-icon {
    width: 140px;
}

@media screen and (max-width: 1500px) {
    .promo-processing p {
        font-size: 1.3rem;
    }

    .modern-promo-box .promo-header h2 {
        font-size: 1.9rem;
    }
}

@media screen and (max-width: 1400px) {
    .modern-promo-box .promo-header h2 {
        font-size: 1.6rem;
    }

    .promo-processing p {
        font-size: 1.2rem;
    }

}