.checkout-global{
    max-width: 1200px;
    margin: 0 auto;
}
.checkout-steps {
    display: flex;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.checkout-step {
    display: flex; 
    align-items: center;
    gap: 8px;
}
.checkout-step:hover {
    cursor: pointer;
}

.checkout-step:hover .step-circle {
    background: #dae0e8;
}

.cursor-text {
    cursor: text;
}

.loader {
  width: 33px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 4px solid #214881;
  animation:
    l20-1 0.8s infinite linear alternate,
    l20-2 1.6s infinite linear;
}
@keyframes l20-1{
   0%    {clip-path: polygon(50% 50%,0       0,  50%   0%,  50%    0%, 50%    0%, 50%    0%, 50%    0% )}
   12.5% {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100%   0%, 100%   0%, 100%   0% )}
   25%   {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100% 100%, 100% 100%, 100% 100% )}
   50%   {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100% 100%, 50%  100%, 0%   100% )}
   62.5% {clip-path: polygon(50% 50%,100%    0, 100%   0%,  100%   0%, 100% 100%, 50%  100%, 0%   100% )}
   75%   {clip-path: polygon(50% 50%,100% 100%, 100% 100%,  100% 100%, 100% 100%, 50%  100%, 0%   100% )}
   100%  {clip-path: polygon(50% 50%,50%  100%,  50% 100%,   50% 100%,  50% 100%, 50%  100%, 0%   100% )}
}
@keyframes l20-2{ 
  0%    {transform:scaleY(1)  rotate(0deg)}
  49.99%{transform:scaleY(1)  rotate(135deg)}
  50%   {transform:scaleY(-1) rotate(0deg)}
  100%  {transform:scaleY(-1) rotate(-135deg)}
}
.stripe-field {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
}

.__PrivateStripeElement{
    min-width: 100%;
}

.lang-box {
    position: relative;
    border-radius: 14px;
}

/* label “în interior” */
.lang-label {
    position: absolute;
    left: 16px;
    top: 10px;
    font-size: 11px;
    font-weight: 500;
    color: #6B7280;
    pointer-events: none;
    line-height: 1;
}
input::placeholder,
textarea::placeholder {
    color: #475467 !important;
}
input {
    font-size: 15px!important;
}
.lang-select {
    width: 100%;
    height: 54px;
    padding: 13px 0 0 16px;
    border-radius: 14px;
    border: 1px solid #D4D7DB;
    background-color: #fff;
    appearance: none;
    font-size: 14px;
    font-weight: 300;
    color: #101828;
    outline: none;
    cursor: pointer;

    background-image:
        linear-gradient(#D4D7DB, #D4D7DB), 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");

    background-repeat: no-repeat, no-repeat;

    background-size: 
        1px 32px,
        18px 18px;

    background-position: 
        calc(100% - 40px) 50%,
        calc(100% - 16px) 50%;
}


.lang-select:hover {
    border-color: #BFC4CA;
}

.lang-select:focus {
    border-color: #214881;
}


.checkout-step:hover .step-circle.step-active {
    background: #2b60ae;
}

/* Wrapper generic pentru orice select personalizat */
.styled-select-wrapper {
    position: relative;
    border-radius: 14px;
    margin-bottom: 16px;
}

/* Label tip floating-light */
.styled-select-label {
    position: absolute;
    top: 10px;
    left: 16px;
    font-size: 11px;
    font-weight: 500;
    color: #6B7280;
    pointer-events: none;
    line-height: 1;
}

/* Select unificat: liniuța + chevron incluse */
.styled-select {
    width: 100%;
    height: 54px;
    padding: 13px 0 0 16px;
    border-radius: 14px;
    border: 1px solid #D4D7DB;
    background-color: #fff;
    appearance: none;
    outline: none;
    cursor: pointer;

    font-size: 14px;
    font-weight: 300;
    color: #101828;

    /* Icon dropdown + linie verticală */
    background-image:
        linear-gradient(#D4D7DB, #D4D7DB),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");

    background-repeat: no-repeat, no-repeat;

    background-size:
        1px 28px,    /* linia */
        18px 18px;   /* chevron */

    background-position:
        calc(100% - 40px) 50%,  /* linia verticală */
        calc(100% - 16px) 50%;  /* săgeata */
}

/* Hover */
.styled-select:hover {
    border-color: #BFC4CA;
}

/* Focus */
.styled-select:focus {
    border-color: #214881;
}

.step-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #C1C7D0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-circle span {
    font-size: 16px;
    font-weight: 600;
    color: #4A4F55;
}

.step-active {
    background: #214881;
}

.step-active span {
    color: white;
}

.step-label {
    font-size: 14px;
    font-weight: 500;
    color: #6B7280;
}

.step-label-active {
    color: #214881;
}

.step-line {
    width: 64px;
    height: 1px;
    background: #E4E7EB;
    margin: 0 12px;
}

.tab-content {
    display: none;
}

.active-tab {
    display: block;
}

.checkout-title {
    color: #101828;
    margin-bottom: 24px;
    font-size: 36px;
    font-weight: 600;

}

.checkout-subtitle {
    color: #1A1A1A;
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 600;
}

.checkout-text {
    color: #6B7280;
    margin-bottom: 32px;
    font-size: 14px;
}

.checkout-title-review {
    color: #101828;
    margin-bottom: 24px;
    font-size: 36px;
    font-weight: 600;
}

.checkout-contact-title {
    color: #1A1A1A;
    font-size: 20px;
    font-weight: 600;
}

.checkout-contact-text {
    color: #6B7280;
    font-size: 14px;
}

.checkout-link {
    color: #214881;
    text-decoration: none;
}

.checkout-link:hover {
    text-decoration: underline;
}


.checkout-start-title {
    color: #101828;
    margin-bottom: 24px;
    font-size: 36px;
    font-weight: 600;
}


.checkout-lang-title {
    color: #101828;
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 600;
}

.h-l {
    color: #101828;
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 600;
}

.checkout-lang-text {
    color: #475467;
    font-size: 14px;
}

/* Section spacing */
.translation-section {
    margin-bottom: 32px;
}

/* Titles */
.translation-title {
    color: #101828;
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 600;
}

.translation-subtitle {
    color: #475467;
    font-size: 14px;
}

/* Cards row */
.translation-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
}



/* Card */
.translation-card {
    flex: 1;
    background: #FFFFFF;
    border: 1px solid #D0D6DF;
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: border-color 0.2s;
}



.translation-card:hover {
    border-color: #B0B6BF;
}

/* Active card */
.active-card {
    background: #F1F7FD;
    border-color: #D0D6DF;
}

/* Card header */
.translation-card-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

/* Radio */
.radio {
    width: 20px;
    height: 20px;
    border: 2px solid #9CA3AF;
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 4px;
}

.radio-active {
    border-color: #214881;
    display: flex;
    justify-content: center;
    align-items: center;
}

.radio-dot {
    width: 12px;
    height: 12px;
    background: #214881;
    border-radius: 50%;
}

/* Card title */
.translation-card-title {
    color: #1A1A1A;
    font-size: 15px;
}

/* Text */
.translation-card-text {
    color: #475467;
    font-size: 13px;
    line-height: 1.5;
    margin-left: 32px;
    font-weight: 300;
    margin-bottom: 16px;
}

/* Price */
.translation-price {
    color: #101828;
    font-size: 14px;
    font-weight: 400;
    margin-left: 32px;
}

.upload-file-main {
    border: 2px solid #d4d7db;
    gap: 2rem;
    display: grid;
    border-radius: 15px;
    margin-top: 1.2rem;
}

.margin-file-costum{
    margin: 1.5rem 1.5rem 0 1.5rem;
}

.total-box {
    background: #F1F7FD;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
}

.total-label {
    color: #1A1A1A;
    font-size: 14px;
    font-weight: 500;
}

.total-value {
    color: #1A1A1A;
    font-size: 14px;
    font-weight: 600;
}

.word-label,
.word-value {
    color: #1A1A1A;
    font-size: 14px;
    font-weight: 400;
}

.word-value {
    margin-left: 20px;
}

.hidden-input {
    display: none;
}

.upload-zone {
    border: 2px dashed #D4D7DB;
    background: #fff;
    border-radius: 12px;
    height: 160px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: border-color 0.2s;
    margin: 1.5rem 1.5rem 0rem 1.5rem;
}

.upload-zone:hover {
    border-color: #346fc9;
}

.browse-link {
    color: #214881;
    cursor: pointer;
    text-decoration: underline;
}

.file-list {
    margin-top: 16px;
    border: 1px solid #E7E9EC;
    border-radius: 12px;
    overflow: hidden;
}

.file-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 18px;
    border-bottom: 1px solid #E7E9EC;
    align-items: center;
}

.file-name {
    font-size: 14px;
    font-weight: 600;
    color: #1A1A1A;
}

.file-meta {
    font-size: 12px;
    color: #6B7280;
}

.delete-btn {
    padding: 4px;
    border-radius: 6px;
    cursor: pointer;
}

.delete-btn:hover {
    background: #f1f1f1;
}


.btn-next-step {
    width: 100%;
    height: 60px;
    background: #214881;
    cursor: pointer;
    color: #ffffff;
    border-radius: 12px;
    margin-top: 24px;      /* mt-6 */
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.2s;
}



.btn-next-step:hover {
    background: #1a3a68;
}

.addon-card {
    background: #ffffff;
    border: 1px solid #D0D6DF;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.addon-card:hover {
    border-color: #B0B6BF;
}

.addon-active {
    background: #DEF0FE4D;
    border-color: #101828;
}

.addon-check {
    width: 24px;
    height: 24px;
    border: 2px solid #C1C7D0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
}

.addon-check-active {
    background: #000000;
    border-color: #000000;
}

.addon-title {
    color: #1A1A1A;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.addon-text {
    color: #6B7280;
    font-size: 14px;
    line-height: 1.5;
}

.addon-price {
    color: #101828;
    font-size: 13px;
    font-weight: 400;
    flex-shrink: 0;
}

.checkbox-label{
    font-size: 13px;
    font-weight: 400;
    color: #101828;
}

.delivery-card {
    background: #ffffff;
    border: 1px solid #D0D6DF;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.delivery-card:hover {
    border-color: #B0B6BF;
}

.delivery-active {
    background: #DEF0FE4D;
    border-color: #101828;
}

.delivery-check {
    width: 24px;
    height: 24px;
    border: 2px solid #C1C7D0;
    border-radius: 6px;
    margin-top: 4px;
}

.delivery-check-active {
    background: black;
    border-color: black;
    display: flex;
    align-items: center;
    justify-content: center;
}

.delivery-name {
    color: #1A1A1A;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.delivery-text {
    color: #6B7280;
    font-size: 14px;
    line-height: 1.5;
}

.delivery-price {
color: #101828;
    font-size: 13px;
    font-weight: 400;
    flex-shrink: 0;
}
.note-editor {
    border-radius: 12px !important;
    border: 1px solid #D0D6DF !important;
    overflow: hidden;
}

.note-toolbar {
    border-bottom: 1px solid #E4E7EB !important;
}

trix-editor.trix-custom {
    border: 1px solid #D0D6DF;
    border-radius: 12px;
    min-height: 160px;
    padding: 16px;
    font-size: 14px;
    color: #4A4F55;
}

trix-toolbar {
    border: none !important;
    padding: 10px 14px;
}

trix-toolbar .trix-button-group {
    border: none !important;
}

trix-toolbar .trix-button {
    color: #4A4F55;
}

trix-toolbar .trix-button:hover {
    color: #214881;
}

.editor-btn {
    color:#4A4F55;
    font-size:16px;
    padding:2px 4px;
    transition:0.2s;
    cursor: pointer;
}

.editor-btn:hover {
    color:#214881;
}

.editor-area {
    border:0;
    outline:none;
    font-size:14px;
    line-height:1.5;
}

.editor-btn {
    color: #6B7280;
    font-size: 17px;
    padding: 6px;
    transition: 0.2s;
}

.editor-btn:hover {
    color: #214881;
}

.editor-btn i {
    pointer-events: none;
}

#specialFilesList{
    gap: 1rem;
    display: grid
}

.h-line-30{
    width: 1.3px;
    background: #c2c2c2;
    height: 30px;
}


.tooltip-label {
    font-size: 14px;
    color: #1A1A1A;
    font-weight: 500;
    text-decoration: underline dotted;
}
#etaValue{
    font-size: 14px;
}


.summ-p{
    padding-left: 1rem;
    padding-right: 1rem;
}

.tooltip-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: default;
}



.tooltip-icon {
    color: #50627A;
    cursor: pointer;
}

/* tooltip hidden by default */
.tooltip-box {
    position: absolute;
    bottom: 32px;
    left: 0;
    width: 221px;
    background: #3a3a3af2;
    color: white;
    font-size: 11px;
    text-align: center;
    padding: 8px 8px;
    border-radius: 14px;
    line-height: 1.45;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(5px);
    transition: opacity .2s ease, transform .2s ease;
    z-index: 999;
}

.tooltip-box.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.tooltip-box::after {
    content: "";
    position: absolute;
    bottom: -14px;
    left: 95px;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 14px solid #3a3a3af2;
}

.after-order {
    font-size: 12px;
    color: #475467;
    gap: 10px;
    text-align: center;
    display: grid;
    padding-top: 2rem;
}

.ata-tls{
    width: 50%;
    margin: 0 auto;
}

@media only screen and (max-width: 1250px) {
    .checkout-global{
        width: 100%;
        max-width: 100%;
        padding: 0 3rem;
    }
}

@media (min-width: 640px) {
    .translation-cards {
        flex-direction: row;
        gap: 24px;
    }
    .translation-card {
        padding: 24px;
    }
    .btn-next-step {
        margin-top: 32px;
    }
}

@media only screen and (max-width: 600px) {
    .step-line {
        width: 35px;
    }
    .checkout-global {
        padding: 0 0 0 3%;
        margin: 0;
        width: 94%;
    }
}

@media only screen and (max-width: 550px) {
    .checkout-title-review,
    .checkout-title,
    .checkout-start-title {
        font-size: 27px;
    }

}

@media only screen and (max-width: 490px) {
    .checkout-global{
        padding: 0 .8rem;
    }
    .step-line {
        width: 5px;
    }
}

@media only screen and (max-width: 440px) {
    .step-circle {
        width: 25px;
        height: 25px;
    }
    .step-circle span {
        font-size: 12px;
    }

}

@media only screen and (max-width: 415px) {
    .checkout-title-review, .checkout-title, .checkout-start-title {
        font-size: 23px;
    }
    .checkout-steps {
        overflow: auto;
        padding: 0 10px 1.3rem 0px;
    }
    
}













































































































































































































































































































































































































































































































































