:root {
    /* UAE */
    --uae-green: #007A3D;
    --uae-red: #D80027;
    --uae-black: #000000;
    --uae-white: #ffffff;
    /* USA */
    /* --us-blue: #3C3B6E; */
    --us-red: #B22234;
    --us-white: #ffffff;
    /* main-colors  */
    --main-color: #1a1a1a
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    text-decoration: none;
    /* list-style: none; */
    /* outline: none; */
    /* border: none; */
    font-family: Tahoma, Geneva, Verdana, sans-serif;
}

.width-fit-content {
    width: fit-content !important;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #fff;
    color: #1a1a1a;
}

main {
    min-height: calc(100vh - 370px);
}

/* Hero Section */
.hero h1 {
    font-weight: bold;
    color: var(--us-blue);
    font-size: 2rem;
}

/* Document Box */
.doc-box {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 1.2rem;
    margin-top: 1rem;
}

.doc-list {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.doc-list li {
    border: 2px solid var(--main-color);
    border-radius: 6px;
    padding: .56rem;
    font-size: 0.9rem;
    transition: all .2s ease-in-out;
    width: 285px;
    cursor: pointer;
}

.doc-list li:hover {
    background: var(--main-color);
    color: #fff;
    transform: translateY(-2px);
}

/* Checklist modifier */
.doc-checklist {
    gap: .4rem;
}

.doc-checklist li {
    width: 100%;
    border: 1px solid #e6e6e6;
    background: #fafafa;
}

.doc-checklist li::before {
    content: "\f00c";
    /* Font Awesome check */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--uae-green);
    background: #e9f6f0;
    border: 1px solid #d2efe3;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.doc-checklist li:hover {
    background: #f3f3f3;
    color: inherit;
    transform: none;
}

/* Footer */
.footer {
    background: var(--main-color);
    color: #ddd;
    padding: 1rem;
    margin-top: 2rem;
}

/*  */
fieldset {
    border: 2px solid #000;
    padding: revert;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

fieldset legend {
    float: unset;
    width: fit-content;
    padding-inline: 10px;
    margin-left: 15px;
}

.price-time {
    color: var(--us-blue);
    font-size: 1.5rem;
}

#addUSD {
    width: 25px;
    height: 25px;
}

.edit-btn {
    background-color: #d67856;
    color: #fff;
    border-color: #d67856;
}

.edit-btn:hover {
    background-color: orangered;
    color: #fff;
    border-color: orangered;
}

.additional-documents {
    position: relative;
    left: -100%;
    transition: 1s;
}

.hiddenTotalFee {
    display: none;
    position: relative;
    left: -100%;
    transition: 1s;
}

.hiddenTotalFee strong {
    font-weight: 900;
}

.order-form-container,
.payment-form-container,
.shipping-form-container {
    box-shadow: 1px 1px 10px rgba(116, 0, 0, 0.35);
    border-radius: 10px;
    padding: 20px 30px;
}

.shipping-form-container input,
.payment-form-container input,
.order-form-container input {
    border-color: #000000;
}

.shipping-form-container .form-check-label,
.payment-form-container .form-check-label {
    font-size: 1.3rem;
}

.shipping-form-container input[type="radio"],
.payment-form-container input[type="radio"] {
    width: 25px;
    height: 25px;
}

.credit-card-preview {
    width: 340px;
    height: 210px;
    border-radius: 18px;
    background: linear-gradient(135deg, #4e54c8, #8f94fb);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding: 28px 24px;
    position: relative;
}

.card-title {
    font-size: 1.1rem;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.card-number {
    font-size: 1.4rem;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

.card-details {
    font-size: 1rem;
}

.label {
    font-size: 0.8rem;
    opacity: 0.8;
}

.value {
    font-weight: 600;
}

.card-icons {
    position: absolute;
    bottom: 18px;
    right: 24px;
    font-size: 2rem;
    opacity: 0.3;
}

#previewCardName {
    font-size: 0.8rem;
}

/* Upload documents UI */
#uploadInputsWrapper {
    background: #ffffff;
    border: 1px solid #e6e6e6;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 18px;
}

#uploadInputsContainer {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    flex-direction: row;
}

#uploadInputsContainer>div {
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
    max-width: 600px;
    min-width: 300px;
}

#uploadInputsContainer>div:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    border-color: #cfcfcf;
}

#uploadInputsContainer label.form-label {
    margin-bottom: 8px;
    font-size: 0.8em;
}

#uploadInputsContainer input[type="file"].form-control {
    padding: 10px;
    border-style: dashed;
    background-color: #fcfcfc;
    cursor: pointer;
}

#uploadInputsContainer input[type="file"].form-control:hover {
    background-color: #f7f7f7;
}

.chooseDocsCount .form-select {
    min-width: 120px;
}

.options h3 {
    font-size: 1.15rem;
}

.upload-document-box {
    width: 190px;
    border: 2px solid #000;
    text-align: center;
    align-content: center;
    height: 30;
    border-radius: 10px;
    font-size: 27px;
    background-color: #5c5c5c;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 190px;
    min-height: 280px;
    max-height: 300px;
}

.upload-document-box:hover {
    background-color: #4a4a4a;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.digital-requirements {
    display: none;
}

.normal-requirements,
.digital-container {
    transition: 3s;
    position: relative;
    left: 0;
}

.normal-requirements h4 {
    font-weight: 600;
    font-size: 1.3rem;
    color: #000023;
}

.digital-container {
    width: 100%;
}

.reqHolder {
    min-height: 280px;
    position: relative;
    overflow: hidden;
    width: 200%;
}

/* Modal Styles */
#otherDocumentModal .modal-dialog {
    max-width: 90%;
}

#otherDocumentModal .modal-body {
    max-height: 70vh;
    overflow-y: auto;
}

#otherDocumentModal .form-label {
    font-weight: 600;
    color: #333;
}

#otherDocumentModal .text-primary {
    color: var(--uae-green) !important;
}

#otherDocumentModal .btn-success {
    background-color: var(--uae-green);
    border-color: var(--uae-green);
}

#otherDocumentModal .btn-success:hover {
    background-color: #005a2e;
    border-color: #005a2e;
}

#otherDocumentModal .alert-info {
    background-color: #e7f3ff;
    border-color: #b8daff;
    color: #004085;
}

#otherDocumentModal .file-info .alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

#otherDocumentModal .form-control:focus,
#otherDocumentModal .form-select:focus {
    border-color: var(--uae-green);
    box-shadow: 0 0 0 0.2rem rgba(0, 122, 61, 0.25);
}

#otherDocumentModal .form-check-input:checked {
    background-color: var(--uae-green);
    border-color: var(--uae-green);
}

#otherDocumentModal .input-group-text {
    background-color: #f8f9fa;
    border-color: #ced4da;
}

/* Additional File Inputs Styling */
.additional-file-inputs {
    background-color: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
}

.additional-file-row {
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 10px;
}

.additional-file-row:last-child {
    margin-bottom: 0;
}

.remove-file-btn {
    transition: all 0.2s ease;
}

.remove-file-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.add-another-file-btn {
    transition: all 0.2s ease;
}

.add-another-file-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Home Page Document List Transitions */
.doc-list {
    transition: transform 0.5s ease-in-out;
}

.doc-list li {
    transition: all 0.3s ease;
}

/* Certification Question Styles */
.certification-question-section,
.document-count-section,
.certification-method-section {
    padding: 2rem 0;
    background: #f8f9fa;
    border-radius: 10px;
    margin: 2rem 0;
}

.certification-question-section h2,
.document-count-section h2,
.certification-method-section h2 {
    color: var(--main-color);
    font-weight: bold;
}

.certification-question-section .lead {
    color: #666;
    font-size: 1.2rem;
}

.certification-question-section .btn,
.document-count-section .btn,
.certification-method-section .btn {
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.certification-question-section .btn:hover,
.document-count-section .btn:hover,
.certification-method-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.document-count-section .form-select {
    border: 2px solid #000;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 1.1rem;
}

.document-count-section .form-select:focus {
    border-color: var(--uae-green);
    box-shadow: 0 0 0 0.2rem rgba(0, 122, 61, 0.25);
}

/* Certified Document Flow Styles */
.certified-document-flow {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    min-height: 60vh;
}

.certified-document-flow .alert-success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.2);
}

.certified-document-flow .card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.certified-document-flow .card-body {
    padding: 2rem;
}

.certified-document-flow .list-group-item {
    border: none;
    padding: 1rem 0;
    font-size: 1.1rem;
}

.certified-document-flow .list-group-item:not(:last-child) {
    border-bottom: 1px solid #e9ecef;
}

.certified-document-flow .btn-success {
    background: linear-gradient(135deg, var(--uae-green), #005a2e);
    border: none;
    border-radius: 10px;
    padding: 15px 40px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.certified-document-flow .btn-success:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 122, 61, 0.3);
}

.documet-kind .form-check-input[type=radio] {
    border-radius: 5px;
    width: 25px;
    height: 25px;
    border: 2px solid;
    margin-right: 10px;
}

.documet-kind .cpp-document .form-check-input[type=radio] {
    border-radius: 50%;
}

.others-business {
    background-color: aliceblue;
}

.dig-doc-business {
    background-color: #ffffdd;
}

.enterCodeHolder>div {
    display: flex;
    gap: 16px;
    justify-content: center;
    max-width: 300px;
    margin: auto;
}

.enterCodeHolder>div input {
    box-shadow: 1px 1px 5px;
    border: 1px solid;
    width: 40px;
}

@media (max-width: 576px) {
    #uploadInputsWrapper {
        padding: 14px;
    }

    #otherDocumentModal .modal-dialog {
        max-width: 95%;
        margin: 0.5rem;
    }

    #otherDocumentModal .modal-body {
        max-height: 60vh;
    }
}



/* caleander ex */
.calendar-div {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.3);
    justify-content: center;
    align-items: center;
    z-index: 9999999999999;
    flex-direction: column;
}

.calendar {
    width: 100%;
    max-width: 1200px;
    max-height: fit-content;
    height: 100vh;
    overflow: auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background: white;
    position: relative;
    display: flex;
    flex-wrap: wrap;
}

.calendar-header {
    display: flex;
    justify-content: center;
    padding: 10px;
    background-color: var(--main-color);
    color: white;
    font-weight: 500;
    font-size: 25px;
    grid-column-start: 1;
    grid-column-end: 8;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 10px;
    gap: 5px;
    text-align: center;
    margin: 10px 10px;
    min-width: 34%;
    /* border: 1px solid #eee; */
    box-shadow: 1px 1px 7px;
    border-radius: 5px;
    flex: 1;
}

.day-name,
.day {
    padding: 10px 0;
    border-radius: 5px;
    min-height: 40px;
    vertical-align: middle;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.day {
    cursor: pointer;
    position: relative;
    border: 1px solid darkgray;
    font-weight: bold;
    color: #696088;
    transform: scale(1);
    font-size: 16px;
}

.day:hover {
    background-color: #e7e7e7;
}

.today {
    background-color: #696088;
    color: white;
}

.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: medium;
    font-weight: normal;
    /* transform: scale(1); */
    /* color: #000; */
    font-size: 12px;
}

.day.today b {
    color: #fff;
}

.day.businessday {
    background-color: #fbfbc2;
}

.day.holiday {
    background-color: rgb(211, 211, 211);
    /* border: 2px solid rgb(255, 99, 71); */
}

.day.holiday span {
    position: absolute;
    top: 0;
    /* left: 10px; */
    color: red;
    font-size: 11px;
}

.calendar-header button {
    background-color: #000;
    display: inline-block;
    margin: 0 20px;
    animation: 2s linear 0s infinite normal none running changeBackGroundbuttons;
}

.calendar-header button:hover {
    background-color: #fff;
}

.day.finished {
    background-color: #c5f6c573;
}

.day.process {
    background-color: #6abeff26;
}

.day.today {
    background-color: rgb(105, 96, 136);
    color: white;
}

.day span.service-name-cale {
    font-size: 0.55em;
    position: absolute;
    top: 0;
    color: #000;
}

.day span.service-name-cale.astrick {
    left: 9px;
}

.day span.service-status-cale {
    font-size: 0.7em;
    position: absolute;
    top: 0;
    right: 5px;
}

.day b .bd.recivie {
    color: blue;
    font-weight: 700;
}

.days {
    color: blue;
    cursor: pointer;
}

.days:hover {
    color: #0ab3ea;
}

.calendar-div span.closePopup {
    position: absolute;
    top: 5px;
    right: 5px;
    color: #fff;
    background-color: red;
    padding: 0px 10px;
    border-radius: 26%;
    font-size: 22px;
    cursor: pointer;
    font-weight: 600;
    z-index: 99;
}

.small-calendar .calendar {
    max-width: 500px;
    cursor: pointer;
}
.small-calendar .calendar .closePopup, .small-calendar .calendar .day span.service-name-cale, .small-calendar .calendar .day span.service-name-cale, .small-calendar .calendar .day b, .small-calendar .calendar .day.holiday span {
    display: none !important;
}
.small-calendar .calendar .calendar-days {
    max-width: 235px;
}
.small-calendar .calendar .calendar-header {
    font-size: 12px;
    padding: 0;
}
.small-calendar .calendar .day-name, .small-calendar .calendar .day {
    padding: 0;
    font-size: 10px;
    min-height: 0;
}

