.wizard{
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.wizard .steps {
    display: flex;
    gap: 2rem; /* çizgi boşluğu kontrol bizde olacak */
    align-items: center;
    justify-content: center;
}

.wizard .steps .step{
    display: flex;
    align-items: center;
    gap: .4rem;
}
.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 #0191a8;
    color: #0191a8;
    background-color: #fff;
    font-size: 20px;
    cursor: pointer;
}
.wizard .steps .step .step-icon.active{
    background-color: #0191a8;
    color: #fff;
}
.wizard .steps .step .step-icon.active + span {
    font-weight: 500;
    color: #0191a8;
}

.step-1-container .card {
    position: relative;
    min-height: 225px;
    border: 1.5px solid #0191a8;
    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 */
    opacity: .2;
}

.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: #0191a8;
    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: #0191a814;
}
.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 #12a19a;
    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: 9; /* 9 satırdan sonra kes */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.message-card:hover,
.message-card.active{
    background-color: rgba(18, 161, 154, 0.2);
}

/* ====== 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-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: 35px;
    font-weight: bold;
}
#pdfPreview .pdf-overlay .desc{
    font-size: 20px;
    font-style: italic;
    text-align: center;
    padding: 0 2rem;
}
#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: 20px;
        font-weight: bold;
    }
    #pdfPreview .pdf-overlay .desc{
        font-size: clamp(9px, 2vw, 13px);
        font-style: italic;
        padding-right: 1rem;
        padding-left: 1rem;
    }
    #pdfPreview .pdf-overlay .date{
        font-size: 15px;
        right: 9.5%;
    }
    .wizard .steps{
        display: flex;
        gap: .5rem;
        align-items: start;
        justify-content: start;
    }
    .message-card {
        height: 175px;
    }
    .wizard .steps .step{
        flex-direction: column;
    }
}