*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

.product-config-page{
    background:#f4f7fd;
    font-family:'Poppins',sans-serif;
    color:#1e293b;
    padding:25px 0 70px;
}

/* TOP HEADER */

.config-header{
    width:100%;
    background:linear-gradient(90deg,#2563eb,#60a5fa);
    border-radius:24px;
    padding:28px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:30px;
    overflow:hidden;
    position:relative;
}

.config-header::after{
    content:'';
    position:absolute;
    right:-60px;
    top:-60px;
    width:250px;
    height:250px;
    background:radial-gradient(rgba(255,255,255,.18) 2px, transparent 2px);
    background-size:14px 14px;
}

.header-left{
    display:flex;
    align-items:center;
    gap:20px;
    z-index:2;
}

.header-icon{
    width:74px;
    height:74px;
    background:rgba(255,255,255,.12);
    border-radius:18px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:28px;
}

.header-text h2{
    color:#fff;
    font-size:38px;
    font-weight:700;
}

.header-text p{
    color:rgba(255,255,255,.85);
    font-size:18px;
}

.logo-icon{
    font-size:58px;
    color:#fff;
    z-index:2;
}

/* LAYOUT */

.main-wrapper{
    display:grid;
    grid-template-columns:1fr 420px;
    gap:28px;
}

.left-area{
    display:flex;
    flex-direction:column;
    gap:30px;
}

/* SECTION */

.section-title{
    font-size:22px;
    font-weight:700;
    margin-bottom:18px;
    padding-left:16px;
    position:relative;
}

.section-title::before{
    content:'';
    width:5px;
    height:42px;
    background:#3b82f6;
    position:absolute;
    left:0;
    top:-6px;
    border-radius:30px;
}

/* BILLING */

.billing-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:16px;
}

.billing-card{
    background:#fff;
    border:2px solid transparent;
    border-radius:18px;
    padding:24px;
    transition:.3s;
    cursor:pointer;
    text-align:center;
}

.billing-card.active{
    border-color:#3b82f6;
}

.billing-card:hover{
    transform:translateY(-4px);
    box-shadow:0 15px 35px rgba(0,0,0,.06);
}

.discount-badge{
    display:inline-block;
    background:#eef4ff;
    color:#2563eb;
    padding:8px 16px;
    border-radius:30px;
    font-size:13px;
    font-weight:600;
    margin:12px 0;
}

.old-price{
    color:#94a3b8;
    text-decoration:line-through;
    font-size:15px;
}

.new-price{
    font-size:20px;
    font-weight:700;
    margin-top:5px;
}

.radio{
    width:28px;
    height:28px;
    border-radius:50%;
    border:2px solid #d6e0f5;
    margin:20px auto 0;
    position:relative;
}

.billing-card.active .radio::after{
    content:'';
    width:16px;
    height:16px;
    background:#3b82f6;
    border-radius:50%;
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
}

/* INPUTS */

.config-box{
    background:#fff;
    border-radius:20px;
    padding:26px;
}

.input-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:16px;
}

.input-group {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px; /* Başlık ile kutu arasındaki temiz boşluk */
    margin-bottom: 5px;
}

.input-group input {
    width: 100%;
    height: 60px; /* Devasa 70px yerine ideal 60px'e çekildi */
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 0 20px; /* Üst padding sıfırlandı, yazı ortalandı */
    font-size: 16px;
    outline: none;
    transition: .3s;
    background: #fff;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Şifre göz ikonu absolute label kalktığı için tam ortalandı */
.input-group .eye {
    position: absolute;
    right: 20px;
    top: 48px; /* Başlık yukarı kaydığı için ikonun yeri input ortasına hizalandı */
    transform: translateY(0);
    color: #64748b;
    font-size: 22px;
    cursor: pointer;
}

/* --- SELECT VE TEXTAREA UYUMLULUK KATMANI --- */
.input-group select.form-control {
    width: 100%;
    height: 60px !important; /* Satır içi height ezildi, input ile eşitlendi */
    border: 1px solid #e2e8f0;
    border-radius: 16px !important;
    padding: 0 15px !important;
    font-size: 16px;
    outline: none;
    background-color: #fff;
    appearance: none; /* Tarayıcıların ham select okunu temizler */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
    background-repeat: no-repeat;
    background-position: right 20px center;
    background-size: 18px;
}

.input-group textarea.form-control {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 16px !important;
    padding: 15px 20px !important;
    font-size: 16px;
    outline: none;
    background: #fff;
    resize: none; /* Sağ alttan çekiştirip tasarımı bozmayı engeller */
}

.input-group label {
    position: relative; /* absolute yerine relative yapıldı */
    left: 0;
    top: 0;
    font-size: 15px; /* Başlıklar biraz daha okunaklı yapıldı */
    font-weight: 600;
    color: #475569; /* Tasarımına uygun şık bir koyu gri */
    display: inline-block;
}

.eye{
    position:absolute;
    right:20px;
    top:50%;
    transform:translateY(-50%);
    color:#64748b;
    font-size:22px;
}

/* OS GRID */

.os-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}

.os-card{
    background:#fff;
    border:2px solid transparent;
    border-radius:16px;
    height:82px;
    display:flex;
    align-items:center;
    padding:20px;
    gap:16px;
    transition:.3s;
    cursor:pointer;
}

.os-card.active{
    border-color:#3b82f6;
}

.os-card:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 25px rgba(0,0,0,.05);
}

.os-radio{
    width:28px;
    height:28px;
    border-radius:50%;
    border:2px solid #dbe4f6;
    position:relative;
}

.os-card.active .os-radio::after{
    content:'';
    width:16px;
    height:16px;
    background:#3b82f6;
    border-radius:50%;
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
}

.os-card img{
    width:34px;
}

.os-name{
    font-size:18px;
    font-weight:500;
}

/* SUMMARY */

.summary-box{
    background:#fff;
    border-radius:22px;
    padding:26px;
    height:fit-content;
    position:sticky;
    top:20px;
}

.summary-title{
    font-size:28px;
    font-weight:700;
    margin-bottom:24px;
}

.summary-plan{
    background:#f6f9ff;
    border-radius:18px;
    padding:20px;
    margin-bottom:25px;
}

.summary-plan h3{
    margin-bottom:14px;
    font-size:22px;
}

.summary-item{
    display:flex;
    justify-content:space-between;
    margin-bottom:12px;
    color:#475569;
}

.summary-total{
    border-top:1px solid #e2e8f0;
    margin-top:18px;
    padding-top:18px;
}

.total-row{
    display:flex;
    justify-content:space-between;
    margin-bottom:16px;
    font-size:18px;
}

.total-row strong{
    color:#0f172a;
}

.pay-box{
    background:#f8fbff;
    border-radius:16px;
    padding:18px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-top:20px;
}

.pay-box h4{
    font-size:15px;
    color:#64748b;
}

.pay-box strong{
    font-size:28px;
}

.continue-btn{
    width:100%;
    height:68px;
    border:none;
    border-radius:16px;
    background:linear-gradient(90deg,#2563eb,#60a5fa);
    color:#fff;
    font-size:22px;
    font-weight:700;
    margin-top:18px;
    cursor:pointer;
    transition:.3s;
}

.continue-btn:hover{
    transform:scale(1.02);
}

/* MOBILE */

@media(max-width:1200px){

    .main-wrapper{
        grid-template-columns:1fr;
    }

}

@media(max-width:900px){

    .billing-grid{
        grid-template-columns:1fr 1fr;
    }

    .os-grid{
        grid-template-columns:1fr;
    }

    .input-grid{
        grid-template-columns:1fr;
    }

}

@media(max-width:600px){

    .product-config-page{
        padding:15px;
    }

    .billing-grid{
        grid-template-columns:1fr;
    }

    .header-text h2{
        font-size:26px;
    }

}
