body{
    font-family: Arial;
    background:#f5f5f5;
    margin:0;
}

.container{
    max-width:400px;
    margin:auto;
    padding:15px;
    background:white;
    margin-top:20px;
    border-radius:10px;
}

.header-img{
    width:100%;
    border-radius:10px;
    margin-bottom:15px;
}

input, select{
    width:100%;
    padding:12px;
    margin-bottom:15px;
    border:1px solid #ccc;
    border-radius:8px;
}

button{
    width:100%;
    padding:12px;
    background:#1e73be;
    color:white;
    border:none;
    border-radius:8px;
    font-size:16px;
}

.cta-box{
    text-align:center;
    margin:20px 0;
}

.wa-img{
    width:220px;
    max-width:100%;
}

/* Ensure consistent box sizing so width:100% fits container reliably */
*, *::before, *::after {
    box-sizing: border-box;
}

/* Label styling for form fields */
form label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

/* Inputs and selects: consistent sizing and alignment */
input, select, textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
}

/* Make buttons align with form fields */
button, .cta-btn {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
}

/* Thumbnail caption styled like a button */
.thumbnail-caption {
    display: block;
    width: 100%; /* match the thumbnail (.header-img) width */
    background: #5fb3ff; /* light blue */
    color: #ffffff; /* white text for contrast */
    padding: 10px 12px;
    border-radius: 15px;
    text-align: center;
    font-weight: 700;
    margin: 10px 0; /* spacing between thumbnail and next element */
    box-sizing: border-box;
}

/* Ensure the year inside the caption inherits styling */
.thumbnail-caption .caption-year {
    display: inline-block;
    margin-left: 6px;
}

/* Adjust success title so it matches thumbnail width and has rounded corners */
.success-title{
    background:#1e73be;
    color:white;
    text-align:center;
    padding:12px 10px;
    font-weight:bold;
    margin:12px 0 5px; /* give extra top margin so it doesn't collide with caption */
    border-radius:15px; /* increased radius */
    width:100%;
    box-sizing:border-box;
}

/* Small responsive tweak to keep layout neat on very small screens */
@media (max-width: 360px) {
    .container { padding: 10px; }
    input, select, textarea { padding: 10px; }
}