@font-face {
    font-family: 'circular_air_probook';
    font-style: normal;
    font-weight: 400;
    font-display: auto;
    src: url('fonts/CircularAirPro-Book.ttf') format('truetype');
}

@font-face {
    font-family: 'circular_air_promedium';
    font-style: normal;
    font-weight: 600;
    font-display: auto;
    src: url('fonts/CircularAirPro-Medium.ttf') format('truetype');
}

@font-face {
    font-family: 'circular_air_probold';
    font-style: normal;
    font-weight: 700;
    font-display: auto;
    src: url('fonts/CircularAirPro-Bold.ttf') format('truetype');
}

@font-face {
    font-family: 'circular_air_problack';
    font-style: normal;
    font-weight: 700;
    font-display: auto;
    src: url('fonts/CircularAirPro-Black.ttf') format('truetype');
}

:root {
    --custom-primary-color: #E23122;
    /* Your new primary color */
    --custom-secondary-color: #007BFF;
    /* Your new primary color */
    --custom-third-color: #1D293F;
    /* Your new primary color */
    --custom-fourth-color: #D9D9D9;
    /* Your new primary color */
    --custom-fifth-color: #7C8087;
    --custom-gray-color: #d3d3d3;
    --custom-hover-primary-color: #BD1B0D;
    --custom-hover-secondary-color: #0057af;
    --custom-dark-color: #1D293F;
    --custom-white-color: #fff;
    --custom-light-background: #F9FDFF;
    --custom-input-background: #F7F8FA;
    --custom-border: #C6CBCD;
    --custom-input-border: #CCCCCC;
    --custom-font-normal: 'circular_air_probook';
    --custom-font-medium: 'circular_air_promedium';
    --custom-font-bold: 'circular_air_probold';
    --custom-font-black: 'circular_air_problack';
    --custom-border-radius: 6px;
}

body {
    font-family: var(--custom-font-normal), sans-serif;
    font-size: 16px;
    overflow-x: hidden;
    color: var(--custom-dark-color);
    padding: 0;
    margin: 0;
    min-height: 100vh;
}

p {
    margin-bottom: 0;
}

.mr-2 {
    margin-right: 20px;
}

.footer {
    width: 100vw;
    margin-left: -30px;
    border-top: 1px solid var(--custom-border);
    background: var(--custom-light-background);
}

.footer .border-b-footer {
    border-bottom: 1px solid var(--custom-border);
}

.footer .container-footer-bottom>.row {
    flex-direction: column-reverse;
    gap: 2rem;
}

.footer .container-footer-bottom>.row p {
    text-align: center;
}

.border-b-footer p {
    max-width: 600px;
    margin: auto;
}

.social-size {
    max-height: 50px;
    cursor: pointer;
    max-width: 50px;
    padding: 15px;
    fill: var(--custom-third-color);
    transition: 0.3s ease-in-out all;
}

.social-size:hover {
    fill: var(--custom-primary-color);
}

.header-error .logo-cert {
    width: 150px;
}

.header-error>.custom-container a {
    height: min-content;
}

.header-error>.custom-container>.menu {
    display: flex;
    align-items: center;
}

.custom-container {
    max-width: 1420px;
    margin: auto;
    align-items: center;
}

.header-error {
    height: 60px;
    display: flex;
    align-items: center;
}

.font-bold {
    font-family: var(--custom-font-bold), sans-serif;
}

.font-medium {
    font-family: var(--custom-font-medium), sans-serif;
}

.underline {
    text-decoration: underline;
}

.header-error a {
    text-decoration: none;
    color: white;
}

.header-error a:hover {
    text-decoration: underline;
}

.w-full {
    width: 100%;
}

.img-error-main {
    max-width: 490px;
    width: 90%;
}

.custom-container-error {
    flex-direction: column;
    align-items: center;
    background: white;
    border-radius: 12px;
    padding: 40px;
    -webkit-box-shadow: 0px 14px 30px -7px rgba(200, 219, 223, 1);
    -moz-box-shadow: 0px 14px 30px -7px rgba(200, 219, 223, 1);
    box-shadow: 0px 14px 30px -7px rgba(200, 219, 223, 1);
    margin: 50px auto;
    max-width: 1440px;
    position: relative;
    z-index: 1;
}

.custom-container-error.w-full {
    margin-left: 0px;
    max-width: calc(100vw - 60px);
    margin-top: 100px;
    margin-bottom: 100px;
}

.error-title {
    font-size: 38px;
    font-weight: 800;
}

.text-red {
    color: var(--custom-primary-color);
}

.max-w-screen-xl.text-red {
    line-height: 14px;
}

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

.header-error {
    padding: 0px 30px !important;
    background: var(--custom-primary-color);
    width: 100%;
    /* position: sticky;
    left: 0;
    right: 0;
    top: 0; */
    color: white;
    z-index: 9999999;
}

.content-error {
    padding: 0px 30px !important;
}

.content-error>.custom-container-error {
    border: 3px solid #f3f5f7;
}

.main-error-button {
    display: flex;
    align-items: center;
    gap: 30px;
    background-color: var(--custom-primary-color);
    border: 2px solid var(--custom-primary-color);
    color: white;
    border-radius: 5px;
    width: 350px !important;
    padding: 20px 40px;
    justify-content: center;
    margin: 20px auto;
}

.main-error-button:hover {
    background-color: var(--custom-hover-primary-color);
}

.mt-12 {
    margin-top: 24px;
}

.ms-0 {
    margin-left: 0;
}


.max-w-screen-xl {
    max-width: 1080px;
    margin: auto;
    text-align: left;
    line-height: 1.8rem;
}

.input-custom-text:focus {
    color: black;

}

.input-custom-text {
    background: white;
    border-radius: 5px !important;
    border: 1px solid #ccc;
    color: #797979;
    height: 50px;
    width: 350px;
    margin-left: 10px;
    padding: 20px;
}

select.input-custom-text {
    padding: 0 20px;
}

select:focus.input-custom-text {
    color: black;
    border: 2px solid #E23122;
}

.footer {
    border-top: 1px solid var(--custom-border);
    background: var(--custom-light-background);
    padding: 0 30px 0;
}

.footer .border-b-footer {
    border-bottom: 1px solid var(--custom-border);
}

.footer .container-footer-bottom>.row {
    flex-direction: column-reverse;
    gap: 2rem;
}

.footer .container-footer-bottom>.row p {
    text-align: center;
}

.gap-custom {
    gap: 35px;
}

.border-b-footer p {
    max-width: 600px;
    margin: auto;
}

.social-size {
    max-height: 50px;
    cursor: pointer;
    max-width: 50px;
    padding: 15px;
    fill: var(--custom-third-color);
    transition: 0.3s ease-in-out all;
}

.social-size:hover {
    fill: var(--custom-primary-color);
}


.grid-footer {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

.footer-col-custom {
    width: 30%;
    gap: 10px;
}

.logo-cert-footer {
    width: 140px;
}

.button-red-big {
    padding: 14px 40px;
    background-color: var(--custom-primary-color) !important;
    color: white;
    border-radius: 5px;
    border: none;
    margin-top: 70px;
}

.button-red-valideaza {
    padding: 14px 40px;
    background-color: var(--custom-primary-color) !important;
    color: white;
    border-radius: 5px;
    border: none;
    transition: 0.3s ease-in-out all;
}

.button-incarca-dovada {
    padding: 14px 40px;
    color: var(--custom-primary-color) !important;
    background-color: #EBEFF1;
    border-radius: 5px;
    border: none;
    transition: 0.3s ease-in-out all;
}

.cursor-pointer {
    cursor: pointer;
}

.button-red-big:hover,
.button-red-valideaza:hover {
    background-color: var(--custom-hover-primary-color) !important;
}

.footer-col-links {
    display: flex;
    gap: 15px;
    flex-direction: column;
    color: var(--custom-dark-color);
}

.footer-col-links a {
    color: var(--custom-dark-color);
    transition: 0.3s ease-in-out;
}

.footer-col-links a:hover {
    color: var(--custom-primary-color);
}

.footer-col-custom.d-flex {
    align-items: end;
}

.button-white {
    float: right;
    cursor: pointer;
    padding: 12px 24px;
    color: white;
    background-color: #ffffff30;
    border-radius: 5px;
    margin-left: 25px;
}

.error-notice {
    background: #FCF4F4 !important;
    -cborderolor: #E23122 !important;
    border-width: 0 0 0 5px;
    border-style: solid;
    line-height: 22px;
    padding: 14px 10px 15px 22px;
    display: block;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
    font-weight: 700 !important;
    margin-bottom: 10px;
}

.error-notice p {
    margin: 0;
}

.form {
    display: flex;
    flex-flow: column;
    align-items: center;
}

.form .form-row {
    display: flex;
}

.form .form-row .form-wrap-control:first-of-type {
    margin-right: 10px;
}

.form .form-row .form-wrap-control {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.form .form-row .form-wrap-control>span {
    position: absolute;
    right: 100%;
    text-wrap: nowrap;
}


@media (max-width:1024px) {
    .border-b-footer p {
        max-width: 100%;
    }

    .w-custom-half {
        width: 100% !important;
    }

    .mt-60 {
        margin-top: 0;
    }

    .gap-custom {
        flex-direction: column;
    }

    .border-b-footer p {
        margin-left: 0;
    }

    .footer-col-custom.d-flex {
        flex-direction: column;
        align-items: center;
    }

    .footer-col-custom {
        width: 100%;
        gap: 10px;
    }

    .row-green-button {
        flex-direction: column;
        gap: 30px;
    }

    .tooltip-custom {
        display: none;
    }

    .form {
        padding: 20px;
    }

    .input-row {
        flex-direction: column;
    }

    .input-container {
        width: 100%;
    }

    .container-mobile-custom-valid {
        flex-direction: column;
    }

    .tooltip-text-hidden-desktop {
        display: flex !important;
    }

    .custom-carousel {
        flex-direction: column;
    }

    .carousel-custom-item {
        margin-right: 0px;
    }

    .border-b-footer p {
        max-width: 100%;
    }
}

@media (max-width: 991px) {
    .container-acceptance {
        flex-direction: column;
        gap: 5px !important;
    }

    .top-container-packages {
        max-width: 500px;
    }

    .container-information {
        max-width: 768px;
    }

    .socials-container {
        justify-content: end;
    }

    .footer .container-footer-bottom>.row p {
        text-align: left;
    }

    .footer .container-footer-bottom>.row {
        flex-direction: row;
        gap: 0;
    }

    .container-information .text-information {
        font-size: 36px;
    }

    .socials-container {
        justify-content: center;
    }

    .error-title {
        font-size: 30px;
    }

    .input-custom-text,
    .main-error-button {
        max-width: 100% !important;
    }

    .custom-container-error {
        padding: 50px 25px;
    }

    .container-information {
        max-width: 768px;
    }

    .socials-container {
        justify-content: end;
    }

    .footer .container-footer-bottom>.row p {
        text-align: left;
    }

    .footer .container-footer-bottom>.row {
        flex-direction: row;
        gap: 0;
    }

    .container-information .text-information {
        font-size: 36px;
    }
}

@media (max-width: 600px) {
    .grid-footer {
        flex-direction: column;
    }

    .header-error .custom-container .menu a:last-child {
        display: none;
    }

    .border-b-footer p {
        margin-left: 0;
    }

    .socials-container {
        justify-content: center;
    }

    .error-title {
        font-size: 26px;
    }

    .main-title {
        font-size: 24px;
    }

    .popup-content {
        padding: 0px 20px;
    }

    .popup-footer {
        padding: 20px 20px;
    }

    .top-container-packages {
        margin-top: -16em;
    }

    .top-container-packages {
        max-width: 500px;
    }

    .socials-container {
        justify-content: center;
    }

    .error-title {
        font-size: 26px;
    }
}

.flex {
    display: flex;
}

.flex-col {
    flex-flow: column;
}

.flex-row {
    flex-flow: row;
}

.space-between {
    justify-content: space-between;
}

.flex-start {
    align-items: start;
}

.flex-end {
    align-items: end;
}

.justify-end {
    justify-content: end;
}

.text-underline {
    text-decoration: underline;
}

.error-text {
    color: #E23122;
}

.ms-2 {
    margin-left: 10px;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.top-50 {
    top: 50%;
    transform: translateY(-50%);
}

.recuperare {
    position: absolute;
    left: 100%;
    text-wrap: nowrap;
    padding: 10px 20px;
    border: 1px solid var(--custom-primary-color);
    border-radius: 6px;
}

.mb-4 {
    margin-bottom: 20px;
}

.mb-2 {
    margin-bottom: 10px;
}

.right-100 {
    right: 100%;
}

.nowrap {
    text-wrap: nowrap;
}

.cf-require {
    color: var(--custom-primary-color);
}

.main-back-button {
    display: inline-block;
    align-items: center;
    background-color: transparent;
    color: var(--custom-primary-color);
    border-radius: 5px;
    border: none;
    padding: 20px 40px;
    justify-content: center;
    margin: 20px auto;
    position: absolute;
    right: 100%;
}

.main-back-button~button {
    display: inline-block;
}

.relative {
    position: relative;
}

.left-50 {
    left: 50%;
    transform: translateX(-50%);
}

.absolute {
    position: absolute;
}

.flex {
    display: flex;
}

.column {
    flex-flow: column;
}

.translateXY-50 {
    transform: translate(-50%, -50%);
}

.progress_bar {
    width: 380px;
}

.progress_bar .progress_track {
    height: 5px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, .4);
}

.progress_bar .progress_count {
    height: 5px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 1);
}

.w-100 {
    width: 100%;
}

.center {
    justify-content: center;
    align-items: center;
}

.row {
    flex-flow: row;
}

.secondary-error-button {
    display: flex;
    align-items: center;
    gap: 30px;
    background-color: var(--custom-primary-color);
    color: white;
    border-radius: 5px;
    border: none;
    width: 240px !important;
    padding: 10px 20px;
    justify-content: center;
    margin: 20px auto;
}

.main-error-button.outline {
    background-color: transparent;
    border: 2px solid var(--custom-primary-color);
    color: var(--custom-primary-color);
}

.table-container {
    width: 100%;
    /* Optional: add some padding if you want the table not to touch the card edges */
    padding: 0 15px;
    box-sizing: border-box;
    overflow: scroll;
}


.table-container table:not(.cert-details-table) {
    width: max-content;
}

.cert-details-table {
    width: 100%;
    border-collapse: collapse;
    /* Removes space between cells */
    margin-bottom: 20px;
    background-color: #fcfcfc;
    /* Slightly off-white for table background */
    border-radius: 6px;
    /* Slightly rounded corners for the table itself */
    overflow: hidden;
    /* Ensures rounded corners apply to content */
    border: 1px solid #eee;
    /* Light border around the table */
}

.cert-details-table tr:nth-child(even) {
    background-color: #f9f9f9;
    /* Light grey stripe for even rows */
}

.cert-details-table tr:nth-child(odd) {
    background-color: #ffffff;
    /* White background for odd rows */
}

.cert-details-table td {
    padding: 12px 15px;
    vertical-align: top;
    border-bottom: 1px solid #eee;
    /* Separator lines */
    font-size: 0.95em;
    color: #333;
}

.cert-details-table tr:last-child td {
    border-bottom: none;
    /* No border on the last row */
}

.cert-details-table .label-column {
    font-weight: bold;
    /* Bold the labels */
    width: 35%;
    /* Adjust as needed */
    color: #555;
    padding-right: 10px;
}

.cert-details-table .value-column {
    color: #333;
    word-break: break-all;
    /* Break long strings */
}

/* Adjust for smaller screens */
@media (max-width: 768px) {

    .cert-details-table .label-column,
    .cert-details-table .value-column {
        display: block;
        /* Stack label and value on small screens */
        width: 100%;
        padding: 8px 15px;
    }

    .cert-details-table .label-column {
        padding-bottom: 0;
    }

    .cert-details-table td {
        border-bottom: none;
        /* No border between label/value on stacked rows */
    }

    .cert-details-table tr {
        border-bottom: 1px solid #eee;
        /* Border between rows */
    }

    .cert-details-table tr:last-child {
        border-bottom: none;
    }
}

textarea.input-custom-text {
    height: auto;
    max-width: 360px;
}

tr[id*="tr_optional_ext_"]>td:last-child {
    vertical-align: middle;
}

thead th {
    text-align: center;
    padding: 10px 0;
    min-width: 150px;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.center {
    margin-left: auto !important;
    margin-right: auto !important;
}

.align-self-end {
    margin-left: auto;
    margin-right: 0;
}

.align-self-start {
    margin-left: 0;
    margin-right: auto;
}

.white-error-button {
    display: inline-block;
    align-items: center;
    background-color: transparent;
    color: var(--custom-primary-color);
    border: 1px solid var(--custom-primary-color);
    border-radius: 5px;
    width: 350px !important;
    padding: 20px 40px;
    justify-content: center;
    margin: 20px 20px 20px 0;
    right: 100%;
}

.buttons button {
    display: inline;
}

.label.absolute {
    right: 100%;
    text-wrap: nowrap;
    top: 50%;
    transform: translateY(-50%);
}

.input-like {
    border: 1px solid var(--custom-gray-color);
    border-radius: 6px;
    padding: 20px 40px;
    width: 100%;
    text-align: center;
    width: 400px;
}

.white-error-button.smaller,
.main-error-button.smaller {
    width: 240px !important;
    padding: 10px 20px !important;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.top-50 {
    top: 50%;
    transform: translateY(-50%);
}

.recuperare {
    position: absolute;
    left: 100%;
    text-wrap: nowrap;
}

.mb-4 {
    margin-bottom: 20px;
}

.mb-2 {
    margin-bottom: 10px;
}

.r-100 {
    right: 100%;
}

.nowrap {
    text-wrap: nowrap;
}

.cf-require {
    color: var(--custom-primary-color);
}

.remove-link {
    background: #fff;
    background-color: #fff;
    border: 1px solid var(--custom-primary-color);
    padding: 10px 20px;
    border-radius: 6px;
}

.title {
    font-size: 2vw;
  min-font-size: 1.5rem;
  max-font-size: 3rem;
}

.modal-header-custom-bg {
  background-color: var(--custom-primary-color);
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

/* Stilizeaza butonul de inchidere pentru vizibilitate pe fundalul nou */
.modal-header-custom-bg .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%); /* Face butonul alb, potrivit pentru fundaluri inchise */
}

.table-wrap td, .table-wrap th {
  white-space: normal;
  word-break: break-word;
}

.table-scroll-container {
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  height: auto;
}

table tr {
        cursor: pointer;
    }