@import url('https://fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,100..900;1,100..900&display=swap');

/* * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Work Sans", sans-serif;
}

body {
    background: #fafafa;
    color: #333;
} */

/* .layout {
    display: flex;
} */


body.no-scroll {
    overflow: hidden !important;
    height: 100% !important;
}

.main-containar-my-account {
    display: flex;
    position: relative;
    min-height: 100vh;
    width: 100%;
}

.sidebar {
    position: relative;
    width: 240px;
    background: #ffffff;
    transition: transform 0.3s ease;
    left: 0;
    top: 0;
    z-index: 999;
    transform: translateX(0);
    border-right: 1px solid #c9c9c9;
}


.sidebar-header {
    padding: 12px;
    border-bottom: 1px solid #c9c9c9;
}

.sidebar-header .profile {
    display: flex;
    flex-direction: row;
    gap: 16px;
    -webkit-box-align: center;
    align-items: center;
}

.close-btn {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    position: absolute;
    display: none;
}

.sidebar.open .close-btn {
    top: 5px;
    right: -10px;
    display: block;
}

.sidebar.open:hover .close-btn:hover {
    background: transparent !important;
}

.avatar {
    background-color: #bdbdbd;
    width: 40px;
    height: 40px;
    font-family: "Work Sans";
    font-size: 1.25rem;
    line-height: 1;
    border-radius: 50%;
    color: #ffffff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Work Sans";
}

.name {
    margin: 0px;
    font-family: "Work Sans";
    font-weight: 400;
    font-size: 0.75rem;
    line-height: 2.66;
    text-transform: uppercase;
    font-family: "Work Sans";
}

.side-nav a {
    display: block;
    padding: 8px 0;
    text-decoration: none;
}

.side-nav a.active {
    background: #fdf1f0;
}

.main-content-container {
    flex: 1;
    width: 100% !important;
}

.table-container {
    margin-top: 20px;
    overflow-x: auto;
}

.status {
    padding: 4px 10px;
    border-radius: 20px;
    color: white;
    font-size: 12px;
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #e94a3f;
    color: #ffffff;
    padding: 16px 24px;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.5);
}

#aside-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 26px;
}

/* Responsive */
@media (max-width: 1200px) {
    .sidebar {
        position: absolute;
        transform: translateX(-100%);
        height: 100vh;
    }

    .sidebar.closed {
        transform: translateX(-100%);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .main-content-container {
        margin-left: 0;
    }

    #aside-menu-toggle {
        display: block;
    }

    .close-btn {
        display: block;
    }
}

.status.received {
    background: #43a047;
}

.status.failed {
    background: #ef6c00;
}

.main-content {
    padding: 32px;
}

.list-header h2 {
    margin: 0px;
    font-family: "Work Sans";
    font-weight: 500;
    font-size: 1.25rem;
    line-height: 1.6;
    color: #ffffff;
}

.side-menu-item {
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.side-menu-item span {
    margin: 0px;
    font-family: "Work Sans";
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.5;
    color: #e94a3f;
}

.form-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    column-gap: 16px;
    row-gap: 0;
    align-items: flex-start;
    border: 1px solid #c9c9c9;
    border-radius: 4px;
}



.form-container .form-col-6 {
    width: calc(50% - 16px);
    /* border: 1px solid #c9c9c9; */
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.5);
    padding: 16px 16px 24px 16px;
    border-radius: 4px;
}

.d-flex {
    display: flex;
    flex-wrap: wrap;
}

.input_group_box {
    column-gap: 16px;
}

.d-flex .col-50 {
    width: calc(50% - 8px);
}

.d-flex .col-40 {
    width: calc(40% - 16px);
}

.d-flex .col-30 {
    width: calc(30% - 8px);
}

.input_group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    padding: 8px;
}

.form-note {
    padding: 35px 8px 0 8px;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0;
    color: #212A45;
}

.form-note span {
    color: #e94a3f;
}

.input_group_box label {
    color: rgba(0, 0, 0, 0.6);
    font-family: "Work Sans";
    font-weight: 400;
    font-size: 16px;
    line-height: 1.2;
    padding: 0px;
}

.input_group_box label span {
    color: #e94a3f;
    font-weight: 700;
}

.custom-inputs {
    width: 100% !important;
    border: 0 !important;
    border-bottom: 3px solid #212A45 !important;
    background: transparent !important;
    padding: 4px 0 5px !important;
    font-size: 16px !important;
    line-height: 20px !important;
    color: #212A45 !important;
    font-weight: 600;
}

.custom-inputs:focus-visible {
    outline: 0 !important;
}

.custom-select {
    width: 100%;
    border: 0;
    border-bottom: 3px solid #212A45;
    background: transparent;
    padding: 4px 0 5px;
    font-size: 16px;
    line-height: 20px;
    color: #212A45 !important;
    font-weight: 600;
}

.custom-select:focus-visible {
    outline: 0;
}

.form-subtitles {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 18px;
    letter-spacing: 1.8px;
    padding: 0 8px;
    color: #212A45;
    margin-bottom: 16px;
}

.form-subtitles.margin-top {
    margin-top: 16px;
}

.custom-btn {
    display: inline-flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
    appearance: none;
    font-family: "Work Sans";
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.75;
    text-transform: uppercase;
    min-width: 64px;
    color: rgb(255, 255, 255);
    background-color: #e94a3f;
    margin: 24px 8px 0 8px;
    text-decoration: none;
    padding: 6px 16px;
    border-radius: 4px;
    border: none;
}

@media screen and (max-width:800px) {
    .form-container {
        flex-direction: column;
    }

    .form-container .form-col-6 {
        width: 100%;
    }

    .form-note {
        padding-top: 10px;
        margin-bottom: 0;
        font-size: 16px;
        line-height: 1.2;
    }

    .mobile-padding-top-0 {
        padding-top: 0 !important;
    }
}


@media screen and (max-width:480px) {

    .d-flex .col-50,
    .d-flex .col-40,
    .d-flex .col-30 {
        width: 100%;
    }

    .custom-select {
        max-width: 100%;
    }
}

#toast {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    background-color: #28a745;
    color: white;
    padding: 15px 20px;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transition: opacity 0.5s ease;
}

#upload-document-btn span {
    font-size: 16px;
    line-height: 20px;
    font-weight: 500;
    text-transform: uppercase;
}

#upload-document-btn {
    color: #e94a3f;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 4px;
    gap: 8px;
    border: 1px solid transparent;
    margin-bottom: 10px;
    cursor: pointer;
}

#upload-document-btn:hover {
    background-color: #e94a3f;
    color: #ffffff;
    border: 1px solid #e94a3f;
}

#upload-document-btn:hover svg path {
    fill: #ffffff;
}


.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 4px;
    width: calc(100% - 40px);
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 600px;
}

.close {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #000;
}

.custom-file-upload {
    display: inline-block;
    padding: 8px 16px;
    background-color: #ffffff;
    color: #e94a3f;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    border: 1px solid #e94a3f;
}

.custom-file-upload:hover {
    background-color: #e94a3f;
    color: #ffffff;
}

#real-file {
    display: none;
}

#file-name {
    margin-left: 10px;
    font-style: italic;
    color: #555;
}

#documents {
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 4px;
}

#document_type {
    width: 100%;
    border: 0;
    border-bottom: 2px solid #949494;
    background: transparent;
    padding: 4px 0 5px;
    font-size: 16px;
    line-height: 20px;
    color: #000;
    margin: 30px 0 10px 0;
}

#document_type:focus-visible,
#expiry_date:focus-visible {
    outline: 0;
}

#expiry_date {
    width: 100%;
    background: #f6f6f6;
    padding: 10px 5px;
    font-size: 16px;
    line-height: 20px;
    color: #000;
    border: 1px solid #949494;
    margin-top: 10px;
    border-radius: 4px;
}

#document-upload-btn {
    color: #ffffff;
    background: #e94a3f;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 16px;
    gap: 10px;
    border: 1px solid transparent;
    margin-bottom: 10px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    line-height: 20px;
    cursor: pointer;
}

/* no-cv */

.no-cv-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    text-align: center;
    background-color: #ffffff;
    height: 100vh;
}

.no-cv-section h1 {
    font-family: 'Work Sans';
    font-weight: 400;
    font-size: 36px;
    line-height: 40px;
    margin: 0;
    color: #212A45;
}

.no-cv-section p {
    font-family: 'Work Sans';
    font-weight: 400;
    font-size: 18px;
    line-height: 28px;
    margin: 0;
    color: #212A45;
    max-width: 768px;
    padding: 0 10px;
}

.no-cv-section p a {
    color: #e94a3f;
    text-decoration: underline;
}

.no-cv-section p a:hover {
    color: #e94a3f;
    font-weight: 500;
}

.upload-btn-wrapper {
    position: relative;
    display: inline-block;
}

.btn-upload {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #e94a3f;
    color: #fff;
    padding: 10px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.btn-upload[disabled] {
    background-color: #e94a3f;
    cursor: not-allowed;
    opacity: 0.7;
}

.upload-btn-wrapper input[type="file"] {
    font-size: 0;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
    cursor: pointer;
    height: 100%;
    width: 100%;
}

.btn-upload svg {
    fill: #ffffff;
    width: 16px;
    height: 16px;
}

.done-message {
    text-align: center;
    font-family: sans-serif;
    margin-top: 100px;
}

.error-message {
    color: red;
    font-size: 14px;
    margin-top: 8px;
    font-family: sans-serif;
}

.loader {
    border: 2px solid #fff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    animation: spin 0.7s linear infinite;
}

.loader.red {
    border: 3px solid #e94a3f;
    border-top: 3px solid transparent;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 0.7s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@media screen and (max-width:768px) {

    #applications,
    #documents {
        overflow-x: auto;
    }

    .list-header {
        padding: 0 15px;
        ;
    }

    .list-header h2 {
        font-size: 16px;
    }

    .main-content {
        padding: 20px;
    }

}

.format-text {
    font-size: 14px;
    text-align: center;
    margin-top: 10px;
}

.done-screen .no-cv-section {
    gap: 24px;
    max-width: 450px;
    margin: 0 auto;
}

.done-screen h1 {
    font-weight: 700;
    font-size: 30px;
    line-height: 30px;
    letter-spacing: 3px;
    text-align: center;
    text-transform: uppercase;
}

.done-screen .strong-text {
    font-weight: 700;
    font-size: 18px;
    line-height: 26px;
    letter-spacing: 0;
    text-align: center;
    color: #212A45;
    max-width: 100%;
}

.done-screen p {
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
    text-align: center;
    color: #646A7D;
    max-width: 400px;
}