@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital@0;1&display=swap');
@font-face {
    font-family: 'Billiondreams';
    font-style: normal;
    font-weight: normal;
    src: url('https://www.uhved.org.tr/site/fonts/billiondreams-personal.ttf') format('truetype');
}

body {
    background: #f3f6fb !important;
}
.wizard{
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.wizard .steps {
    display: flex;
    gap: 1.5rem; /* çizgi boşluğu kontrol bizde olacak */
    align-items: center;
    justify-content: center;
}

.wizard .steps .step{
    display: flex;
    align-items: center;
    gap: .4rem;
    cursor: pointer;
    background: #fff;
    border: 2px solid #cbd5e1;
    border-radius: 35px;
    padding: .4rem;
    padding-right: 1rem;
    transition: 0.2s;

}
.wizard .steps .step .step-icon{
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    /*border: 2px solid #0284c7;*/
    color: #0284c7;
    background-color: #fff;
    font-size: 20px;
    cursor: pointer;
}
.wizard .steps .step.disabled .step-icon {
    background: #c0c6cf;
    color: #475569;
}
.wizard .steps .step:has(.step-icon.active) {
    border-color: #0ea5e9;
    background: #0ea5e9;
    color: #fff;
}
.wizard .steps .step:has(.step-icon.active) span{
    color: #fff;
    font-weight: 500;
}
.wizard .steps .step .step-icon.active{
    background-color: #0284c7;
    color: #fff;
}
.wizard .steps .step:hover {
    border-color: #0e7490;
    color: #0e7490;
}

.step-1-container .step-1-title {
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #111827;
    font-family: var(--oxpins-font-two);
}

.step-1-container .card {
    position: relative;
    /*min-height: 225px;*/
    width: 100%;
    aspect-ratio: 1200/900;
    border: 1.5px solid #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    transition: all ease-in-out .2s;
    border-radius: 15px;
    cursor: pointer;
    overflow: hidden;
}

.step-1-container .card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--bg-url);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 0;
    border-radius: inherit;
    transition: transform 0.4s ease; /* animasyon */
}

.step-1-container .card:hover::before {
    transform: scale(1.1); /* hover’da büyüt */
}

.step-1-container .card > * {
    position: relative;
    z-index: 1; /* yazılar üstte kalsın */
}
.step-1-container .card .card-title{
    font-size: 1.2rem;
    margin-bottom: 0;
    font-weight: 600;
    transform: translateY(22px);
}
.step-1-container .card .top-icon{
    font-size: 25px;
}
.step-1-container .card .icon-box{
    width: 35px;
    height: 35px;
    background-color: #0284c7;
    color: white;
    display: flex; /* Display özelliğini daima flex olarak tut */
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    font-size: 25px;
    margin-top: 10px;
    transition: all ease-in-out .4s;
    opacity: 0;
    transform: translateY(40px); /* 20 piksel aşağıda başlat */
}
.step-1-container .card:hover{
    background-color: #0284c714;
}
.step-1-container .card:hover .icon-box{
    opacity: 1;
    transform: translateY(20px); /* Orijinal konumuna geri getir */
}

.message-card{
    width: auto;
    height: 230px;
    overflow: hidden;
    font-size: 14px;
    background-color: #f7f7f7;
    border: 1px solid rgba(14, 165, 233, 0.2);
    border-radius: 10px;
    box-shadow: 5px 5px 10px 0 rgb(0,0,0,0.3);
    transition: all ease-in-out .4s;
    padding: 8px;
    cursor: pointer;
}
.message-card p {
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 7; /* 7 satırdan sonra kes */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.message-card:hover,
.message-card.active{
    background-color: rgba(14, 165, 233, 0.2);
}
.message-card.active{
    pointer-events: none;
    cursor: pointer;
}

/* ====== PDF Preview ====== */
.pdfPreview {
    width: 100%;
    aspect-ratio: 297 / 210; /* Yatay default */
    position: relative;
    overflow: hidden;
}
.pdfPreview::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--bg-image);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 0;
}
.pdfPreview.pdf-portrait {
    aspect-ratio: 210 / 297;
}
.pdfPreview.pdf-landscape {
    aspect-ratio: 297 / 210;
}
.pdfPreview.pdf-1080-1920 {
    aspect-ratio: 1080 / 1920;
}
.pdfPreview .pdf-overlay{
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.pdfPreview .pdf-overlay .title{
    font-size: 45px;
    line-height: 45px;
    width: 90%;
    /*font-weight: bold;*/
    position: absolute;
    top: 22%;
    font-family: 'Billiondreams';
    text-align: center;
    color: #fff;
}
.pdfPreview .pdf-overlay .title .kiminadina_preview{
    /*color: #00396e;*/
}
.pdfPreview .pdf-overlay .prefix{
    font-size: 15px;
    font-weight: bold;
    font-family: var(--oxpins-font-two);
    color: #f5f5f5;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .15);
    opacity: .95;
    font-style: italic;
}
.pdfPreview .pdf-overlay .desc{
    font-size: clamp(13px, 2vw, 18px);
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center;
    padding: 0 1rem;
    font-family: var(--oxpins-font-two);
    width: 90%;
    position: absolute;
    top: 35%;
    color: #fff;
}
.pdfPreview .pdf-overlay .donor_preview {
    font-size: 20px !important;
}
.pdfPreview .pdf-overlay .footer{
    position: absolute;
    top: 72%;
    font-size: 50px;
    font-family: var(--oxpins-font-two);
    color: #000;
}
.pdfPreview .pdf-overlay .date{
    position: absolute;
    top: 12%;
    right: 11%;
    color: #fff;
    font-size: 35px;
}
@media (max-width: 725px) {
    .pdfPreview .pdf-overlay .title{
        font-size: 30px;
        line-height: 30px;
        /*font-weight: bold;*/
    }
    .pdfPreview .pdf-overlay .prefix{
        font-size: 14px;
    }
    .pdfPreview .pdf-overlay .donor_preview{
        font-size: 15px !important;
    }
    .pdfPreview .pdf-overlay .desc{
        /*font-size: clamp(5px, 1.9vw, 13px);*/
        font-style: italic;
        padding-right: 1rem;
        padding-left: 1rem;
        top: 34%;
    }
    .pdfPreview .pdf-overlay .date{
        font-size: 15px;
        right: 9.5%;
    }
    .wizard .steps{
        display: flex;
        gap: .2rem;
        align-items: start;
        justify-content: start;
    }
    .message-card {
        height: 175px;
    }
    .wizard .steps .step{
        flex-direction: column;
        font-size: 13px;
        border-radius: 15px;
        padding-right: unset;
        padding: .4rem;
        width: 110px;
    }
    .message-card p{
        -webkit-line-clamp: 5;
    }
}


/* UHVEDE ÖZEL CSSLER */
.step-3-container .card {
    padding: 1rem;
    background: #fff;
    border-radius: 10px;
    margin: 0 0 1rem;
}
.step-3-container .step-3-title {
    font-size: 22px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: #2a3b5a;
}
.step-3-container .form-control {
    background: unset !important;
    border: 1px solid #ced4da;
    color: #2a3b5a;
    padding: 0 20px;
    height: 48px;
    border-radius: 10px;
}
.step-3-container textarea.form-control {
    height: 130px;
    padding: .7rem;
}
.step-3-container textarea.form-control:read-only {
    background-color: #f5f5f5 !important;
}
.step-3-container label {
    display: block;
    font-size: 15px;
    line-height: 15px;
    font-weight: 800;
    /*margin-bottom: 6px;*/
    color: #2a3b5a;
}
.step-3-container .form-check-label {
    font-size: 13px;
}
.certificate-options{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-bottom:12px;
}
.certificate-option input{display:none}
.certificate-option label{
    display:inline-block;
    padding:7px 14px;
    border-radius:999px;
    border:1px solid #cfd6e3;
    font-size:13px;
    cursor:pointer;
    background:#fff;
    transition:.2s;
    user-select:none;
    font-weight:800;
    color:#2a3b5a;
}
.certificate-option input:checked + label{
    border-color:#1976d2;
    background:#1976d2;
    color:#fff;
    box-shadow:0 0 0 1px rgba(25,118,210,.25);
}
.certificate-header-text {
    font-size: 14px;
    font-weight: 800;
    color: #2a3b5a;
    margin-bottom: 6px;
}
.uhved-bg-primary {
    background-color: var(--oxpins-base);
}