/* styles.css */

body {
    margin: 0;
    padding: 0;
    font-family: 'Lexend', sans-serif;
    color: #727272;
}

/* BEGIN :: REVIEW SECTION */
.yt-video-box {
    position: relative;
}
.yt-video-box::before {
    content: '';
    position: absolute;
    left: calc(50% - 10px);
    top : calc(50% - 10px);
    background-color: #fff;
    width: 20px;
    height: 20px;
}
.yt-video-box.active::before {
    display: none;
}
.yt-video-box span {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    pointer-events: none;
}
.yt-video-box span .fa {
    font-size: 60px;
    color: red;
    margin: auto;
}
.yt-video-box-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap : 15px;
    width: 84vw;
    margin: 15px 8vw 0;
}
@media(max-width : 767px) {
    .yt-video-box-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.yt-video-box-grid iframe,
.yt-video-box-grid img {
    width: 100%;
    height: 250px;
    cursor: pointer;
}
@media(max-width : 767px) {
    .yt-video-box-grid iframe,
    .yt-video-box-grid img {
        height: 150px;
    }
}
.form-container {
    width: 512px;
    height: 508px;
    margin: 30px auto;
    background: #fff;
    padding: 32px;
    border-radius: 24px;
    box-shadow: 0 4px 8px rgba(0, 1, 4, 0);
    max-width: 512px;
    margin: auto;
    box-sizing: border-box;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

#apply-now {
    overflow: hidden;
}
@media (max-width: 768px){
    .form-title,
    .form-group > label,
    .radio-label {
        font-size: smaller;
    }
    input[type="text"],input[type="tel"], select {
        max-width: 100%;
    }
    .form-container{
        width: 96%;
    }
    .form-container-modal{
        position: static;
        transform: none;
        top: auto;
        left: auto;
        /* display: none;
        visibility: hidden;
        opacity: 0; */
        width: 100%;
        transition: visibility 0s, opacity 0.5s linear;
    }
    .form-container.visible{
        display: none;
        visibility: none;
        opacity: 1;
    }
    .checkbox-container{
        display: flex;
        justify-content: center;
        padding: 20px;
        box-sizing: border-box;
    }
}

.form-title {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #333;
    text-align: center;
    margin-top: 8px;
    margin-bottom: 32px;
    font-size: 24px;
    letter-spacing: -1.2px;
}
@media screen and (max-width: 600px) {
    .form-title {
        font-size: 18px;
        max-width: 300px;
    }
}

.radio-label {
    color: #000;
    font-size: 16px;
    align-self: center;
}

.form-group {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.form-group.radio-group {
    display: flex;
    flex-direction: row;
    gap: 4.5rem;
    margin-bottom: 24px;
    padding: 0%;
}

@media(max-width : 767px) {
    .form-group.radio-group {
        display: block;
    }
}

.form-group.radio-group-modal {
    display: block;
    flex-direction: row;
    gap: 4.5rem;
    margin-bottom: 24px;
    padding: 0%;
}

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-right: 10px;
    cursor: pointer;
    user-select: none;
}

/* Assuming .checkbox-container label is used for "I am" label */
.checkbox-container label {
    color: #000; /* Change text color to black */
    margin-right: 10px; /* Add some space to the right of "I am" */
    display: inline-block; /* Ensures that margin is applied properly */
}

/* Additional styles to add spacing around the checkbox labels for "Student" and "Parent or Relative" */
.checkbox-container {
    margin-left: 10px; /* Add space to the left of the checklist boxes */
}

/* If you want to target only the first checkbox container which is the "Student" label */
.checkbox-container:first-of-type {
    margin-left: 10px; /* Add space to the left of the first checklist box */
}


.form-group label {
    white-space: nowrap;
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: center;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #01060e /* Set the "I am" label and other labels to the specified color */
}

.checkbox-container label {
    color: #333; /* This keeps the "I am" label text color different, as specified */
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border: 1px solid #ccc;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.checkbox-container:hover input ~ .checkmark {
    background-color: #ccc;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #2196F3;
}

.checkmark::before {
    content: '';
    position: absolute;
    display: none;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 12px;
    border: solid #2196F3;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    border-radius: 50%;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
    top: 9px;
    left: 9px;
    width: 7px;
    background: white;
    border-radius: 50%;
}

.checkbox-container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 8px;
    height: 15px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

input[type="text"], input[type="tel"], select {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    font-weight: 400;
    min-height: 56px;
    margin: 5px 0 15px 0;
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 6px; /* Adjust the curveness as per the screenshot */
    box-sizing: border-box;
    -webkit-appearance: none; /* Removes default styles in some browsers */
    -moz-appearance: none; 
    appearance: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Soft shadow as seen in the screenshot */
    font-family: 'Lexend', sans-serif; /* Ensure the font is consistent */
}

/* Style adjustments for select to include a custom dropdown arrow */
select {
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 2048 2048"><path fill="%23000" d="M2048 384h-2048l1024 1024z"/></svg>');
    background-repeat: no-repeat, repeat;
    background-position: right .7em top 50%, 0 0;
    background-size: .65em auto, 100%;
    -webkit-print-color-adjust: exact; 
    print-color-adjust: exact;
}
button.submit-btn {
    width: 100%;
    background-color: #0b81e3; /* Updated to match the blue seen in the screenshot */
    color: white;
    padding: 14px 20px;
    margin-top: 28px ;
    border: none;
    border-radius: 20px; /* Updated to provide more 'curveness' as per the screenshot */
    cursor: pointer;
    font-size: 16px; /* Assuming a standard font size, adjust as needed */
    font-weight: 600; /* Assuming a bolder font weight, adjust as needed */
}

button.submit-btn:hover {
    background-color: #003f7f; /* Darker blue for hover effect */
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.24),0 2px 10px 0 rgba(0,0,0,0.19); /* Optional: Adds a slight elevation on hover */
}


/* Add more style definitions if necessary */
/* styles.css */

/* Radio button group style */

#location .content-container .radio-group .form-container {

    display: flex;
    flex-direction: column;

.radio-label {
    margin-bottom: 5px;
}

.radio-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 16px;
    user-select: none;
}

.radio-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #2196F3;
    border-radius: 50%;
}

.radio-container:hover input ~ .checkmark {
    background-color: #0b7dda;
}

.radio-container input:checked ~ .checkmark {
    background-color: #0b7dda;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.radio-container input:checked ~ .checkmark:after {
    display: block;
}

.radio-container .checkmark:after {
    left: 9px;
    top: 5px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}
}

  
 /* Hide HTML5 number input spinners */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield; /* Firefox */
}
input[type="number"] {
    /* Firefox */
    -moz-appearance: textfield;
    /* Chrome, Safari, Edge, Opera */
    appearance: textfield; 
}

/* Hide spin buttons in WebKit browsers */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0; 
}
 
  /* Resetting default checkbox styles */
input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 1px solid #999;
    border-radius: 3px;
    cursor: pointer;
  }
  
/* Custom checkbox tick mark */
input[type="checkbox"]::before {
    content: "\2713"; /* Unicode for checkmark symbol */
    color: #fff;
    display: block;
    width: 20px; /* Set your desired width */
    height: 20px; /* Set your desired height */
    text-align: center;
    line-height: 20px; /* Center vertically */
    background-color: #fff; /* Background color of checkbox */
    border: 1px solid #999; /* Border color */
    border-radius: 3px; /* Rounded corners */
    transition: background-color 0.3s, color 0.3s;
}

/* When checkbox is checked */
input[type="checkbox"]:checked::before {
    background-color: #0b7dda; /* Change background color when checked */
    color: #fff; /* Change tick mark color when checked */
}
  
  
  /* Styling label text */
  label {
    font-size: 16px;
    display: block;
    margin-top: 5px;
    display: flex;
    align-items: center;
  }
  
  /* Styling anchor tag */

  #agreetext {
    color:#292931;
    font-family: 'lexend';
    font-size: 14px;
    padding: 8px;
  }
  