html {
    font-family: Arial, helvetica, sans-serif;
    font-size: 100%;
}

body {
    font-size: 1em;
    font-family: inherit;
    line-height: 25px;
}

.banner {
    font-size: 20px;
}

.blueSubmit {
    border: 0px;
    background-color: #0b53b9;
    color: white;
    padding: 10px;
    padding-left: 20px;
    padding-right: 20px;
    font-size: 15px;
    font-family: Quicksand, Verdana, sans-serif;
    font-weight: 400;
}

div.elem-group {
    margin: 40px 0;
}

label {
    display: block;
    font-family: 'Aleo';
    padding-bottom: 4px;
    font-size: 1.25em;
}

.contactFormInput {
    border-radius: 2px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-size: 1.25em;
    font-family: 'Aleo';
    width: 500px;
    padding: 8px;
}

.contactFormButton {
    height: 50px;
    background: #999;
    color: white;
    border: 2px solid darkgreen;
    font-size: 1.25em;
    font-family: 'Aleo';
    border-radius: 4px;
    cursor: pointer;
    margin: 10px;
}

.contactFormButton button:hover {
    border: 2px solid black;
}

/* Child Tables Styles */
.children-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.child-table-container {
    display: inline-block;
    background: #fff;
    border: 1px solid #0b53b9;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    line-height: 1.4;
    margin: 5px auto;
    vertical-align: top;
    max-width: 1000px;
    width: fit-content;
}

.child-field {
    display: inline-block;
    margin: 5px 10px 5px 0;
    vertical-align: top;
}

.child-field label {
    display: block;
    font-weight: bold;
    color: #333;
    font-size: 14px;
    margin-bottom: 3px;
}

.child-field input, .child-field select {
    padding: 4px 6px;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 16px;
    transition: border-color 0.3s;
    text-align: center;
}

.child-field input:focus, .child-field select:focus {
    outline: none;
    border-color: #0b53b9;
}

.remove-child-btn {
    background: #e74c3c;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-left: 10px;
}

.remove-child-btn:hover {
    background: #c0392b;
}

.birthday-field .birthday-inputs {
    display: flex;
    align-items: center;
    gap: 4px;
}

.birthday-inputs input {
    text-align: center;
    padding: 4px 2px;
}

.birthday-inputs input[placeholder="MM"] {
    width: 35px;
}

.birthday-inputs input[placeholder="DD"] {
    width: 35px;
}

.birthday-inputs input[placeholder="YYYY"] {
    width: 55px;
}

.birthday-inputs span {
    font-weight: bold;
    color: #666;
    font-size: 12px;
}

.child-separator {
    display: block;
    width: 100%;
    border: none;
    border-top: 1px solid #ddd;
    margin: 10px 0 5px 0;
    clear: both;
}

.activities-label {
    display: block;
    width: 100%;
    margin-bottom: 5px;
    clear: both;
}

.activities-label label {
    font-size: 15px;
    color: #333;
}

.activity-field {
    margin: 2px 4px 2px 0;
}

.class-btn {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 15px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    color: #333;
    white-space: nowrap;
}

.class-btn:hover {
    border-color: #0b53b9;
    background: #e8f4ff;
}

.class-btn.selected {
    background: #0b53b9;
    border-color: #0b53b9;
    color: white;
}

.add-child-container {
    text-align: center;
    margin-top: 10px;
}

.add-child-btn {
    background: #27ae60;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.add-child-btn:hover {
    background: #229954;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .children-container {
        padding: 0 5px;
        max-width: 100%;
    }
    
    .child-table-container {
        padding: 8px;
        width: auto;
        margin: 0 5px;
    }
    
    .child-header {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .basic-info-section {
        flex-direction: column;
        gap: 6px;
        align-items: stretch;
    }
    
    .basic-info-section .input-group input,
    .basic-info-section .input-group select {
        width: 100px;
    }
    
    .class-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 3px;
    }
    
    .class-btn {
        padding: 5px 8px;
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .child-table-container {
        padding: 6px;
        margin: 0;
    }
    
    .child-section {
        padding: 6px;
    }
    
    .basic-info-section .input-group input,
    .basic-info-section .input-group select {
        width: 90px;
    }
    
    .class-buttons {
        grid-template-columns: 1fr 1fr;
        gap: 2px;
    }
    
    .class-btn {
        padding: 4px 6px;
        font-size: 8px;
    }
    
    .birthday-inputs input[placeholder="MM"] {
        width: 30px;
    }
    
    .birthday-inputs input[placeholder="DD"] {
        width: 30px;
    }
    
    .birthday-inputs input[placeholder="YYYY"] {
        width: 45px;
    }
}

/* Parent Information Styles */
.parent-info-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #0b53b9;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.parent-field-group {
    display: flex;
    gap: 15px;
    justify-content: space-between;
}

.parent-field {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.parent-field label {
    display: block;
    font-weight: bold;
    color: #333;
    font-size: 14px;
    margin-bottom: 5px;
}

.parent-field input {
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
    text-align: center;
}

.parent-field input:focus {
    outline: none;
    border-color: #0b53b9;
    box-shadow: 0 0 0 2px rgba(11, 83, 185, 0.1);
}

.parent-field input::placeholder {
    color: #999;
    opacity: 0.8;
}

/* Mobile responsive for parent fields */
@media (max-width: 768px) {
    .parent-info-container {
        padding: 15px;
        max-width: 100%;
        margin: 0 5px;
    }
    
    .parent-field-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .parent-field input {
        font-size: 16px; /* Prevent zoom on iOS */
    }
}

@media (max-width: 480px) {
    .parent-info-container {
        padding: 10px;
        margin: 0;
    }
    
    .parent-field-group {
        gap: 8px;
    }
}

/* Trial Class Section Styles */
.trial-class-container {
    max-width: 700px;
    margin: 20px auto;
    background: #fff;
    border: 1px solid #0b53b9;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

.trial-class-question {
    font-size: 14px;
    margin-bottom: 15px;
    color: #333;
    text-align: center;
    line-height: 1.4;
}

.trial-class-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.trial-btn {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 15px;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    color: #333;
    white-space: nowrap;
    flex: 1;
    min-width: 200px;
}

.trial-btn:hover {
    border-color: #0b53b9;
    background: #e8f4ff;
}

.trial-btn.selected {
    background: #0b53b9;
    border-color: #0b53b9;
    color: white;
}

/* Mobile responsive for trial class buttons */
@media (max-width: 768px) {
    .trial-class-container {
        padding: 15px;
        margin: 20px 5px;
    }
    
    .trial-class-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .trial-btn {
        min-width: auto;
        font-size: 13px;
        padding: 8px 12px;
    }
}

@media (max-width: 480px) {
    .trial-class-container {
        padding: 10px;
        margin: 15px 0;
    }
    
    .trial-btn {
        font-size: 12px;
        padding: 6px 10px;
    }
}