/* Container for the form elements */
.form-container {
    width: 100%;
    padding: 20px;
}

/* Row Layout */
.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

/* Labels (Attending, Can't Make It) */
label {
    /* color: white; */
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.5px;
}

/* --- Counter Widget Styling --- */
.counter-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.counter-btn {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid #9f723f;
    background: transparent;
    color: #9f723f;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding-bottom: 3px; /* visual adjustment for vertical center */
}

.counter-btn:hover {
    background-color: rgba(255, 123, 123, 0.1);
}

.counter-display {
    width: 60px;
    height: 40px;
    border: 2px solid #9f723f;
    border-radius: 10px;
    background: transparent;
    /* color: white; */
    font-size: 20px;
    font-weight: 500;
    text-align: center;
    /* Removes default input styling */
    outline: none;
}

/* --- Checkbox Styling --- */
.custom-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 40px;
    height: 40px;
    border: 2px solid #9f723f;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Checked state styling */
.custom-checkbox:checked {
    background-color: #9f723f;
}

/* Checkmark (hidden by default) */
.custom-checkbox:checked::after {
    content: "✕"; /* Using X for 'can't make it' or could use checkmark */
    color: #12274e;
    font-size: 1.2rem;
    font-weight: bold;
}

/* --- Continue Button Styling --- */
.submit-container {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.continue-btn {
    /* Coral color */
    font-weight: 500;
    transition: transform 0.1s ease;
    background: #9f723f;
    color: #ffffff;
    text-transform: capitalize;
    padding: 10px 10px 10px 17px;
    border-radius: 100px;
    border: 1px solid #9f723f;
    display: flex;
    align-items: center;
    gap: 25px;
}

.continue-btn:hover { 
background: #fff;
	 color:#12274e;
	 border:1px solid #12274e
}

form button:hover { 
background: #fff;
	 color:#12274e;
	 border:1px solid #12274e
}

.continue-btn:active {
    transform: scale(0.98);
}

/* Circle around the checkmark icon */
.icon-circle {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    border: 2px solid white;
    border-radius: 50%;
    font-size: 12px;
}

.continue-btn i {
    background: #ffffff;
    width: 25px;
    height: 25px;
    text-align: center;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
}
.continue-btn:hover i{
	background: #12274e;
	 color:#fff

}

form button:hover i {
     background: #12274e;
	 color:#fff
}
.sp-hr {
    display: block;
    height: 1px;
    background: #42526e;
    width: 100%;
    margin-top: 20px;
}
.sp-rsvp .sp-rsbp_box .sp_content .sp_box {
    padding: 25px;
}

@media (max-width: 480px) {
    .sp-rsvp .sp-rsbp_box .sp_content .sp_box {
        padding: 10px;
    }
    .form-container {
        width: 100%;
        padding: 10px;
    }
    .counter-btn {
        width: 20px;
        height: 20px;
        font-size: 15px;
    }
    .counter-display {
        width: 50px;
        height: 30px;
        font-size: 15px;
    }
    .counter-wrapper {
        gap: 5px;
    }
    .custom-checkbox {
        width: 30px;
        height: 30px;
        border-radius: 5px;
    }
    .mb-3 {
        margin-bottom: 10px;
    }
    form .col-sm-12,
    form .col-sm-6 {
        padding: 0 0;
        margin-bottom: 15px;
    }
    form .form-control {
        height: 35px !important;
        font-size: 15px;
    }
}

form {
    width: 100%;
}

form h6 {
    color: #9f723f;
    font-size: 18px;
    margin-top: 10px;
}

form h5 {
    /* color: white; */
    font-size: 15px;
    margin-top: 10px;
}

form .form-control {
    background: transparent;
    /* color: white; */
    border-radius: 3px;
    height: 45px;
}

form option {
    color: black;
}

form button {
    font-weight: 500;
    transition: transform 0.1s ease;
    background: #9f723f;
    color: #ffffff;
    text-transform: capitalize;
    padding: 10px 10px 10px 17px;
    border-radius: 100px;
    border: 1px solid #9f723f;
    display: flex;
    align-items: center;
    gap: 25px;
}

form button i {
    background: #ffffff;
    width: 25px;
    height: 25px;
    text-align: center;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
}

::placeholder {
    color: black !important;
    opacity: 1; /* Firefox */
}

::-ms-input-placeholder {
     
    color: black !important;
}
