
@import url('https://fonts.googleapis.com/css?family=Poppins:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800,800i,900,900i&subset=devanagari,latin-ext'); 

/* Base reset for proper box-sizing */
* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    width: 80%;
    max-width: 100%;
    background-color: transparent;
    text-align: center; 
    font-family: sans-serif;
    margin: auto !important;
    padding: 0;
    overflow-x: hidden;
}

/* Full width on mobile */
@media screen and (max-width: 949px) {
    body {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
}

#container {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.row {
    margin-top: 20px;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    height: 100vh;
}

@media screen and (max-width: 949px) {
    .row {
        margin-top: 10px !important;
    }
}

.column {
    width: 100%;
    padding: 0 15px;
}

@media screen and (max-width: 949px) {
    .column {
        padding: 0 10px !important;
    }
}

.stap {
    border-radius: 10px;
    font-family: sans-serif;
    text-align: center;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1), 0 1px 4px 0 rgba(0, 0, 0, 0.1);
    background-color: white;
    padding: 1vh;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

@media screen and (max-width: 949px) {
    .stap {
        padding: 20px 15px !important;
        border-radius: 10px;
        margin-bottom: 1.5vh;
    }
}

.form-group {
    text-align: center;
    width: 100%;
    max-width: 100%;
}

@media screen and (max-width: 949px) {
    .form-group {
        padding: 10px 5px !important;
    }
}

.titel {
    background-color: #fff;
    padding: 10px;
    border-radius: 10px 10px 0px 0px;
    color: black;
}

.sectie {
    background-color: transparent;
    font-family: sans-serif;
    padding-top: 10px;
    width: 100%;
    max-width: 100%;
}

@media screen and (max-width: 949px) {
    .sectie {
        padding: 10px 5px !important;
    }
}

.tekst {
    text-align: center;
}

.foto {
    text-align: left;
    margin-top: 0;
    width: 100%;
    max-width: 600px;
}

.form-control {
    width: 80%;
    max-width: 100%;
}

@media screen and (max-width: 949px) {
    .form-control {
        width: 95% !important;
        margin: 10px auto !important;
        font-size: 16px !important;
    }
}

[type="radio"]:checked,
[type="radio"]:not(:checked) {
    position: absolute;
    left: -9999px;
    width: 0;
    height: 0;
    visibility: hidden;
}

.for-checkbox-budget {
    cursor: pointer;
    display: inline-block;
}

input[type=checkbox], input[type=radio] {
    background-color: #0093D9;
    cursor: pointer;
}

/* Donation frequency buttons (Maandelijks, Kwartaal, etc.) */
.checkbox-budget:checked + label {
    position: relative;
    line-height: 50px;
    letter-spacing: 1px;
    margin: 5px 1%;
    text-align: center;
    overflow: hidden;
    cursor: pointer;
    text-transform: uppercase;
    color: black;
    font-family: sans-serif !important;
    font-weight: bold;
    background-image: url('../img/blackstripechecked.png');
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    height: 50px;
    padding: 0 10px;
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

.checkbox-budget:not(:checked) + label {
    position: relative;
    line-height: 50px;
    letter-spacing: 0px;
    margin: 5px 1%;
    text-align: center;
    overflow: hidden;
    cursor: pointer;
    color: black;
    text-transform: uppercase;
    font-family: sans-serif !important;
    font-weight: bold;
    background-image: url('../img/blackstripe.png');
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    height: 50px;
    padding: 0 10px;
    background-color: white;
    box-shadow: 0 0px 0px 0 rgba(0, 0, 0, 0.1);
}

.checkbox-budget:not(:checked) + label:hover {
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}

#container {
    padding: 3vh;
}

/* Amount buttons (€5, €10, etc.) */
.checkbox-budget-price:not(:checked) + label {
    cursor: pointer;
    line-height: 48px;
    padding: 0 12px;
    font-size: 30px;
    flex: none!important;
    font-weight: 500;
    margin-top: 12px;
    margin-right: 12px;
    margin-left: 12px;
    border-radius: 8px;
    background: white;
    color: black;
    border: 1px solid black;
    border-radius: 10px;
    display: inline-block;
}

.checkbox-budget-price:checked + label {
    cursor: pointer;
    line-height: 48px;
    padding: 1px 13px;
    font-size: 30px;
    flex: none!important;
    font-weight: 500;
    margin-top: 12px;
    margin-right: 12px;
    margin-left: 12px;
    border-radius: 10px;
    color: #fff!important;
    background: #0093D9 !important;
    display: inline-block;
}

@media screen and (max-width: 768px) {
    .checkbox-budget-price:not(:checked) + label,
    .checkbox-budget-price:checked + label {
        font-size: 22px !important;
        margin: 8px 6px !important;
    }
}

@media screen and (max-width: 480px) {
    .checkbox-budget-price:not(:checked) + label,
    .checkbox-budget-price:checked + label {
        font-size: 20px !important;
        margin: 6px 4px !important;
    }
}

/* Payment method buttons (iDEAL, Bancontact) */
.checkbox-budget-payment:not(:checked) + label {
    line-height: 48px;
    padding: 0 12px;
    font-size: 30px;
    flex: none!important;
    font-weight: 500;
    margin-top: 12px;
    margin-right: 12px;
    margin-left: 12px;
    border-radius: 8px;
    background: white;
    color: black;
    border: 1px solid black;
    border-radius: 10px;
    display: inline-block;
    width: auto;
}

.checkbox-budget-payment:checked + label {
    line-height: 48px;
    padding: 3px 17px;
    font-size: 30px;
    flex: none!important;
    font-weight: 500;
    margin-top: 12px;
    margin-right: 12px;
    margin-left: 12px;
    border-radius: 10px;
    color: #fff!important;
    background-color: #0093D9 !important;
    display: inline-block;
    width: auto;
}

@media screen and (max-width: 768px) {
    .checkbox-budget-payment:not(:checked) + label,
    .checkbox-budget-payment:checked + label {
        width: 45% !important;
        margin: 12px 2% !important;
    }
}

@media screen and (max-width: 480px) {
    .checkbox-budget-payment:not(:checked) + label,
    .checkbox-budget-payment:checked + label {
        width: 45% !important;
        margin: 12px 2% !important;
    }
}

.checkbox-budget:checked + label::before,
.checkbox-budget:not(:checked) + label::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    z-index: -1;
}

.checkbox-budget:checked + label span,
.checkbox-budget:not(:checked) + label span {
    position: relative;
    display: block;
}

.checkbox-budget:checked + label span::before,
.checkbox-budget:not(:checked) + label span::before {
    position: absolute;
    content: attr(data-hover);
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    -webkit-text-stroke: transparent;
    text-stroke: transparent;
    -webkit-transition: max-height 0.3s;
    -moz-transition: max-height 0.3s;
    transition: max-height 0.3s;
}

.checkbox-budget:not(:checked) + label span::before {
    max-height: 0;
}

.checkbox-budget:checked + label span::before {
    max-height: 100%;
}

.h2 {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 0px;
}

.h3 {
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    text-align: center;
}

.p, p {
    text-align: center;
    margin-left: 5%!important;
    margin-right: 5%!important;
    font-size: 18px;
}

@media screen and (max-width: 949px) {
    .p, p {
        font-size: 14px !important;
        margin-left: 10px !important;
        margin-right: 10px !important;
        line-height: 1.6 !important;
        text-align: justify !important;
    }
}

h2 {
    font-weight: 700;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

@media screen and (max-width: 949px) {
    h2 {
        padding: 0 10px !important;
    }
}

h3 {
    font-size: 30px;
    font-weight: 700;
}

@media screen and (max-width: 949px) {
    h3 {
        padding: 0 10px !important;
    }
}

/* Payment method logos */
label#ideal {
    background-image: url(../img/ideal.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    height: 70px;
    position: relative;
    min-width: 100px;
}

label#bancontact {
    background-image: url(../img/BC_logo_ORGNL_RGB.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    height: 70px;
    position: relative;
    min-width: 100px;
}

@media screen and (max-width: 480px) {
    label#ideal,
    label#bancontact {
        height: 60px !important;
        min-width: 80px !important;
    }
}

.betaalmethode {
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

/* Personal info checkbox */
span#adres-label {
    font-weight: normal;
    font-size: 16px;
    font-family: sans-serif;
    cursor: pointer;
}

@media screen and (max-width: 949px) {
    span#adres-label {
        font-size: 14px !important;
    }
}

.adress-checkbox {
    accent-color: #0093D9;
    cursor: pointer;
}

.personal-info-section {
    width: 100%;
    text-align: center;
    margin: 15px 0;
}

@media screen and (max-width: 949px) {
    .personal-info-section {
        padding: 10px 5px !important;
    }
}

#adresgegevens {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

#email, #naam {
    width: 80%;
    max-width: 100%;
}

@media screen and (max-width: 949px) {
    #email, #naam {
        width: 95% !important;
    }
}

/* Custom amount input */
.ander{
    width: 20%;
    position:relative;
    }
    
.ander input{
  padding-left: 15px;
  top: -5px;
    cursor: auto;
}

.ander:after{
    position: absolute;
    left: 6px;
    top: -6px;
    content: '€';
}

@media screen and (max-width: 768px) {
    .ander {
        width: 30% !important;
    }
}

@media screen and (max-width: 480px) {
    .ander {
        width: 40% !important;
    }
}

.currency-label {
    font-weight: 500;
    margin-bottom: 2px; /* small space between € and input */
    font-size: 0.9em;
    color: #333;
}

/* Betalen/Donate button */
.betalen {
    color: #fff !important;
    text-decoration: none;
    background: #2e2c96;
    padding: 10px 40px;
    border-radius: 50px;
    display: inline-block;
    border: none;
    font-weight: bold;   
    font-size: 30px;
    margin-bottom: 20px;
    cursor: pointer;
    max-width: 100%;
}

@media screen and (max-width: 768px) {
    .betalen {
        font-size: 24px !important;
        padding: 12px 30px !important;
        width: auto !important;
    }
}

@media screen and (max-width: 480px) {
    .betalen {
        font-size: 20px !important;
        padding: 12px 25px !important;
        width: 90% !important;
    }
}

.betaalknop {
    width: 100%;
    text-align: center;
    margin: 20px 0;
}

/* Progress bar */
.progress-bg {
    margin: 0 auto;
    width: 65%;
    height: 78px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    -moz-box-shadow: inset 0 0 10px #ccc;
    -webkit-box-shadow: inset 0 0 10px #ccc;
    box-shadow: inset 0 0 10px #ccc;
    overflow: hidden;
}

@media screen and (max-width: 949px) {
    .progress-bg {
        width: 95% !important;
        height: auto !important;
        min-height: 80px !important;
        padding: 15px 10px !important;
    }
}

.progress-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    border-radius: 10px;
    width: 0%;
    background-color: #0093D9;
    z-index: 1;
    -webkit-transition: width 1.2s ease;
    -moz-transition: width 1.2s ease;
    -o-transition: width 1.2s ease;
    transition: width 1.2s ease;
}

.progress-labels {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 10px;
}

@media screen and (max-width: 949px) {
    .progress-labels {
        flex-direction: column !important;
        justify-content: center !important;
        gap: 5px !important;
        padding: 10px 5px !important;
    }
}

.progress-bg h3.goal, 
.progress-bg h3.raised {
    font-family: Arial, sans-serif;
    font-size: 2em;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
    padding: 0;
    text-align: center;
    display: inline-block;
}

@media screen and (max-width: 949px) {
    .progress-bg h3.goal, 
    .progress-bg h3.raised {
        line-height: 1.4 !important;
        display: block !important;
        padding: 5px 0 !important;
        text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
    }
}

.progress-bg h3.raised {
    color: black;
    padding: 0 25px 0 0;
}

@media screen and (max-width: 949px) {
    .progress-bg h3.raised {
        padding: 5px 0 !important;
    }
}

.progress-bg h3.goal {
    color: black;
    text-align: center;
}

@media screen and (max-width: 949px) {
    .progress-bg h3.goal {
        padding: 5px 0 !important;
    }
}

.progress-fill.empty {
    display: none !important;
}


/* Donors list */
.donors-wrapper {
    width: 100%;
    margin-top: 18px;
    text-align: left;
}

.donors-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 10px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #e9e9e9;
}

@media screen and (max-width: 949px) {
    .donors-title {
        font-size: 16px !important;
    }
}

.donors-list {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.donor-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 6px;
    border-bottom: 1px solid #f0f0f0;
}

@media screen and (max-width: 480px) {
    .donor-item {
        padding: 12px 4px !important;
    }
}

.donor-name {
    color: #333;
    font-size: 15px;
    word-break: break-word;
    flex: 1;
    padding-right: 10px;
}

@media screen and (max-width: 480px) {
    .donor-name {
        font-size: 14px !important;
    }
}

.donor-amount {
    color: #333;
    font-weight: 600;
    white-space: nowrap;
}

.donors-loading {
    text-align: center;
    padding: 20px;
    color: #666;
}

/* Layout containers */
.header, .body {
    display: flex;
    gap: 2vh;
    width: 100%;
    max-width: 100%;
}

@media screen and (max-width: 949px) {
    .header, .body {
        flex-direction: column !important;
        gap: 1.5vh !important;
    }
}

.mb-2 {
    margin-bottom: 2vh;
}

.input-inline {
    position: relative;
    display: inline-block;
    padding-left: 20px;
    margin-bottom: 0;
    font-weight: 400;
    vertical-align: middle;
    cursor: auto;
}

#donor-list {
    width: 370px;
    max-width: 100%;
}

@media screen and (max-width: 949px) {
    #donor-list {
        width: 100% !important;
    }
}

/* Logo section */
.logo-wrapper {
    width: 100%;
    text-align: center;
}

.logo {
    max-width: 100%;
    height: auto;
    max-height: 15vh;
}

#logo {
    max-width: fit-content;
}

@media screen and (max-width: 949px) {
    #logo {
        display: none !important;
    }
}

/* Animations */
.progress-bg h3.raised {
    animation: fadein 4s;
}

@keyframes fadein {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Additional mobile fixes */
@media screen and (max-width: 949px) {
    form#doneer {
        width: 100% !important;
    }
    
    #hoebetaal {
        font-size: 18px !important;
        margin: 15px 0 !important;
    }
}

@media screen and (max-width: 480px) {
    #hoebetaal {
        font-size: 16px !important;
    }
}