body {

    margin:0;

    font-family:
        Segoe UI,
        sans-serif;

    background-image:
        url('../images/background.png');

    background-size:cover;

}

.besteltype-container{

    display:grid;

    grid-template-columns:
        repeat(2,1fr);

    gap:20px;

    margin-bottom:30px;

}

.besteltype-card{

    background:white;

    padding:25px;

    border-radius:12px;

    cursor:pointer;

    box-shadow:
        0 4px 12px rgba(0,0,0,.08);

    transition:
        all .2s ease;

}

.besteltype-card:hover{

    transform:
        translateY(-2px);

    box-shadow:
        0 8px 20px rgba(0,0,0,.12);

}

.besteltype-card.active{

    border:
        3px solid #28D05A;

    background:
        #f6fff9;

}

.besteltype-icoon{

    font-size:40px;

    margin-bottom:10px;

}

@media(max-width:800px){

    .besteltype-container{

        grid-template-columns:1fr;

    }

}

#loadingScreen {

    position: fixed;

    inset: 0;

    background-image: url('../images/background.png');
    background-size: cover;
    background-position: center;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    z-index: 9999;
}

.loading-logo {

    width: 140px !important;
    max-width: 140px !important;
    height: auto !important;

}

#mainContent {

    display: none;

}

.overlay{

    min-height:100vh;

    background:
        rgba(255,255,255,.85);

    display:flex;
    justify-content:center;

}

.card{
    width:100%;
    max-width:1200px;

    padding:40px;
    box-sizing:border-box;
}

.logo{
    text-align:center;
    margin-bottom:20px;
    
}

.logo img{

    width:90px;
    max-width: 100%;
    height: auto;

}

.budget-box{

    background:#1B4774;

    color:white;

    padding:20px;

    border-radius:12px;

    margin:20px 0;

}

.welcome-box{

    background:white;

    padding:20px;

    border-radius:12px;

    margin:20px 0;

    box-shadow:
        0 4px 12px rgba(0,0,0,.08);

    font-size:16px;

}

.budget-value{

    font-size:40px;
    font-weight:bold;

}

#phone-container{

    display:grid;

    grid-template-columns:
        repeat(auto-fit,minmax(250px,1fr));

    gap:20px;

    margin-top:20px;
}

.phone-card{
    background:white;
    border-radius:12px;
    padding:15px;
    box-shadow:0 4px 12px rgba(0,0,0,.1);
}

.phone-card h3{
    margin-top:0;
    min-height:50px;
}

.prijs{

    font-size:28px;
    font-weight:bold;

    color:#1B4774;

}

.badge-green{

    background:#2ed15a;

    color:white;

    padding:8px 12px;

    border-radius:6px;

    display:inline-block;

}

.badge-orange{

    background:#f8a938;

    color:white;

    padding:8px 12px;

    border-radius:6px;

    display:inline-block;

}

button{

    width:100%;

    background:#2ed15a;

    color:white;

    border:none;

    padding:12px;

    border-radius:8px;

    margin-top:15px;

    cursor:pointer;

}

.order-layout{

    display:grid;

    grid-template-columns:450px 1fr;

    gap:30px;

}

.selected-phone{
    background:white;
    border-radius:12px;
    padding:25px;
    box-shadow:0 4px 12px rgba(0,0,0,.08);
}

.address-card{
    background:white;
    border-radius:12px;
    padding:25px;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

#gekozen-toestel{

    background:white;

    border:none;

    padding:0;

}

#accessoire-container{

    display:flex;

    flex-direction:column;

    gap:12px;

    margin-top:15px;

}

.accessoire-card{

    display:flex;

    justify-content:space-between;

    align-items:center;

    background:white;

    border-radius:12px;

    padding:16px 20px;

    box-shadow:
        0 2px 8px rgba(0,0,0,.08);

}

.accessoire-card:hover{

    box-shadow:
        0 4px 12px rgba(0,0,0,.12);

}

.accessoire-info{

    display:flex;

    align-items:center;

    gap:12px;

}

.accessoire-info input{

    width:18px;

    height:18px;

}

.accessoire-naam{

    font-weight:600;

    color:#333;

}

.accessoire-prijs{

    min-width:90px;

    text-align:right;

    font-weight:bold;

    color:#1B4774;

}

.summary-title{

    margin-top:20px;

    margin-bottom:12px;

    font-size:16px;

    font-weight:700;

    color:#000000;

    text-transform:none;

}

.summary-line{

    display:grid;

    grid-template-columns:
        1fr auto;

    gap:15px;

    margin:8px 0;

}

.summary-line span:last-child{

    white-space:nowrap;

}

.summary-total{

    margin-top:15px;

    padding-top:15px;

    border-top:1px solid #ddd;

    font-weight:700;

    font-size:18px;

}

.summary-header{

    font-weight:700;

    color:#000000;

    margin-top:20px;

    margin-bottom:12px;

    font-size:16px;

}

.summary-budget{

    color:#666;

}

.summary-eigen{

    font-weight:700;

    color:#1B4774;

}

.summary-line.total{

    font-weight:700;

}

.summary-total-block{

    margin-top:16px;

    padding-top:16px;

    border-top:1px solid #d8d8d8;

}

.summary-line.own{

    font-weight:700;

    color:#1B4774;

    background:#eef6ff;

    padding:8px 10px;

    border-radius:6px;

}

.summary-line.own.zero{
    background:#eef9f0;
    color:#2e8b57;
}

.selected-phone hr{

    margin:15px 0;

    border:none;

    border-top:1px solid #ddd;

}

.accessoire-card{

    display:flex;

    align-items:center;

    justify-content:space-between;

    background:white;

    border-radius:10px;

    padding:15px;

    box-shadow:
        0 2px 8px rgba(0,0,0,.08);

}

.accessoire-left{

    display:flex;

    align-items:center;

    gap:10px;

}

.accessoire-prijs{

    font-weight:bold;

    color:#1B4774;

}
#address-section{

    display:none;

    margin-top:40px;

    background:white;

    padding:30px;

    border-radius:12px;

    box-shadow:
        0 4px 12px rgba(0,0,0,.10);
}

.section-intro{

    color:#666;
    margin-bottom:25px;
}

.delivery-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow:
        0 4px 12px rgba(0,0,0,.08);
}

.delivery-card h2 {
    margin-top: 0;
    margin-bottom: 12px;
    color: #000000;
}

.delivery-intro {
    margin: 0 0 20px;
    color: #555555;
    line-height: 1.5;
}

.delivery-location {
    display: flex;
    align-items: flex-start;
    gap: 14px;

    padding: 16px;

    background: #f5f8fb;
    border: 1px solid #d9e3ed;
    border-radius: 10px;
}

.delivery-icon {
    font-size: 26px;
    line-height: 1;
}

.delivery-name {
    font-size: 17px;
    font-weight: 700;
    color: #1B4774;
}

.selected-price{

    font-size:32px;

    font-weight:bold;

    color:#1B4774;

    margin-top:10px;

}

.selected-budget{

    margin-top:15px;

    color:#555;
    line-height:1.5;
}

.selected-own{

    margin-top:15px;

    padding:12px;

    border-radius:8px;

    background:#f3faf5;

    border:
        1px solid #c5ebd0;

    font-weight:600;
}

#submitButton{

    width:100%;

    background:#28D05A;

    color:white;

    border:none;

    padding:14px;

    border-radius:8px;

    cursor:pointer;

    font-size:16px;

    font-weight:600;

}

#submitButton:disabled{

    background:#bfc7bf;

    cursor:not-allowed;

    opacity:0.8;

}

.simonly-summary{

    text-align:center;

}

.simonly-icon{

    font-size:48px;

    margin-bottom:15px;

}

.simonly-summary h3{

    color:#1B4774;

    margin-bottom:15px;

}

.simonly-summary p{

    color:#555;

    margin-bottom:10px;

}

.simonly-info{

    margin-top:20px;

    padding:12px;

    background:#f6fff9;

    border:1px solid #bfe5cb;

    border-radius:8px;

    font-weight:600;

    color:#1B4774;

}

.success{
    display:none;
}

.success-page{

    text-align:center;

    padding:60px 20px;

}

.success-page h1{

    color:#28D05A;

    margin-bottom:20px;

}

@media (max-width: 800px) {

    body {
        overflow-x: hidden;
    }

    .card {
        width: 100%;
        max-width: 100%;
        padding: 20px;
        box-sizing: border-box;
    }

    .order-layout {
        display: grid;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .selected-phone,
    .delivery-card {
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .summary-line {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
    }

    .summary-line span:first-child {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .summary-line span:last-child {
        white-space: nowrap;
        text-align: right;
    }

}