/**
 * Yangebup Knights Public Styles
 */

/* Enhanced smooth scrolling support */
html {
    scroll-behavior: smooth;
}

/* Ensure consistent scroll behavior on mobile devices */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Respect user preferences for reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    /* Disable JavaScript animations for users who prefer reduced motion */
    .yangebup-registration-wrapper * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Registration Form */
.yangebup-registration-wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Reset checkbox styles that might be causing issues */
.yangebup-registration-wrapper input[type="checkbox"] {
    -webkit-appearance: checkbox !important;
    -moz-appearance: checkbox !important;
    appearance: checkbox !important;
    opacity: 1 !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin-right: 8px !important;
}

/* Remove any pseudo elements that might be interfering */
.yangebup-registration-wrapper input[type="checkbox"]::before,
.yangebup-registration-wrapper input[type="checkbox"]::after {
    display: none !important;
}

/* Field that needs attention */
.yangebup-field-needs-attention {
    border: 2px solid #dc3545 !important;
    background-color: #fff5f5 !important;
    animation: pulse-border 2s ease-in-out infinite;
}

@keyframes pulse-border {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
    }
    50% {
        box-shadow: 0 0 0 5px rgba(220, 53, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

.yangebup-field-notice {
    display: block;
    margin-top: 5px;
    color: #dc3545;
    font-size: 14px;
    font-weight: 500;
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

.yangebup-registration-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: #2c3e50;
    color: white;
    border-radius: 8px;
}

.yangebup-registration-header h2 {
    margin: 0 0 10px 0;
    font-size: 28px;
    font-weight: 700;
}

.yangebup-season-info {
    margin: 0;
    opacity: 0.9;
    font-size: 16px;
}

/* Pricing Information */
.yangebup-pricing-info {
    background: #f8f9fa;
    border: 1px solid #dcdcde;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
}

.yangebup-pricing-info h3 {
    margin: 0 0 15px 0;
    color: #2c3e50;
    font-size: 20px;
}

.yangebup-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.yangebup-pricing-item {
    background: white;
    border: 2px solid #dcdcde;
    border-radius: 6px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.yangebup-pricing-item:hover {
    border-color: #ffd700;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.2);
}

.yangebup-pricing-item.kindy {
    border-color: #27ae60;
    background: linear-gradient(135deg, #d1f2eb 0%, #a7f3d0 100%);
}

.yangebup-pricing-item strong {
    display: block;
    font-size: 14px;
    color: #2c3e50;
    margin-bottom: 8px;
}

.yangebup-pricing-item .price {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #1d2327;
    margin-bottom: 5px;
}

.yangebup-pricing-item small {
    font-size: 12px;
    color: #646970;
    line-height: 1.3;
}

/* Form Sections */
.yangebup-form-section {
    background: white;
    border: 1px solid #dcdcde;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
}

.yangebup-form-section h3 {
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #ffd700;
    color: #2c3e50;
    font-size: 20px;
    font-weight: 600;
}

.yangebup-form-section h4 {
    margin: 20px 0 15px 0;
    color: #646970;
    font-size: 16px;
    font-weight: 600;
}

.yangebup-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 15px;
}

.yangebup-form-group {
    display: flex;
    flex-direction: column;
}

.yangebup-form-group label {
    font-weight: 600;
    margin-bottom: 5px;
    color: #1d2327;
    font-size: 14px;
}

.yangebup-form-group input,
.yangebup-form-group select,
.yangebup-form-group textarea {
    padding: 12px;
    border: 2px solid #dcdcde;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.yangebup-form-group input:focus,
.yangebup-form-group select:focus,
.yangebup-form-group textarea:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.yangebup-form-group small {
    margin-top: 5px;
    font-size: 13px;
    color: #646970;
    line-height: 1.4;
}

.yangebup-form-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Payment Options */
.yangebup-payment-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.yangebup-payment-option {
    border: 2px solid #dcdcde;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.yangebup-payment-option:hover {
    border-color: #ffd700;
}

.yangebup-payment-option input[type="radio"] {
    margin-right: 12px;
}

.yangebup-payment-option input[type="radio"]:checked + .yangebup-radio-label {
    color: #1d2327;
}

.yangebup-payment-option:has(input:checked) {
    border-color: #ffd700;
    background: rgba(255, 215, 0, 0.05);
}

.yangebup-radio-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    color: #646970;
}

.yangebup-radio-label .price {
    font-weight: 700;
    color: #27ae60;
    font-size: 18px;
}

/* Voucher Section */
.yangebup-voucher-section {
    background: #f0f8f0;
    border: 1px solid #c3e6c3;
    border-radius: 6px;
    padding: 15px;
    margin-top: 15px;
}

.yangebup-voucher-details {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #c3e6c3;
}

/* Consent Section */
.yangebup-consent-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.yangebup-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.5;
    cursor: pointer;
}

.yangebup-checkbox-label.required {
    font-weight: 600;
}

.yangebup-checkbox-label input[type="checkbox"] {
    margin: 0;
    flex-shrink: 0;
}

.yangebup-checkbox-label a {
    color: #2271b1;
    text-decoration: underline;
}

/* Form Actions */
.yangebup-form-actions {
    text-align: center;
    margin-top: 30px;
}

.yangebup-submit-btn {
    background: linear-gradient(135deg, #ffd700 0%, #f1c40f 100%);
    color: #2c3e50;
    border: none;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 200px;
    justify-content: center;
}

.yangebup-submit-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #f1c40f 0%, #e6b800 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.yangebup-submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.yangebup-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #2c3e50;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: yangebup-spin 1s linear infinite;
}

@keyframes yangebup-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.yangebup-form-info {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 6px;
    text-align: left;
}

.yangebup-form-info p {
    margin: 0 0 10px 0;
    font-weight: 600;
    color: #2c3e50;
}

.yangebup-form-info ul {
    margin: 0;
    padding-left: 20px;
    color: #646970;
}

.yangebup-form-info li {
    margin-bottom: 5px;
}

/* Notices */
.yangebup-notice {
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: 500;
}

.yangebup-notice-success {
    background: #d1f2eb;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.yangebup-notice-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.yangebup-notice-info {
    background: #dbeafe;
    border: 1px solid #93c5fd;
    color: #1e40af;
}

.yangebup-notice ul {
    margin: 10px 0 0 20px;
}

.yangebup-notice li {
    margin-bottom: 5px;
}

/* Age Preview */
.yangebup-age-preview {
    display: block;
    margin-top: 8px;
    padding: 8px 12px;
    background: #dbeafe;
    border: 1px solid #93c5fd;
    border-radius: 4px;
    color: #1e40af;
    font-weight: 600;
    font-size: 13px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .yangebup-registration-wrapper {
        padding: 15px;
    }
    
    .yangebup-pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .yangebup-form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .yangebup-payment-options {
        gap: 10px;
    }
    
    .yangebup-radio-label {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .yangebup-submit-btn {
        width: 100%;
        padding: 16px;
    }
    
    .yangebup-registration-header h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .yangebup-form-section {
        padding: 20px 15px;
    }
    
    .yangebup-checkbox-label {
        font-size: 13px;
    }
    
    .yangebup-form-group input,
    .yangebup-form-group select,
    .yangebup-form-group textarea {
        font-size: 16px; /* Prevent zoom on iOS */
    }
}

/* Parent Portal */
.yangebup-parent-portal {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.yangebup-portal-header {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    text-align: center;
}

.yangebup-portal-header h2 {
    margin: 0 0 10px 0;
    font-size: 28px;
}

.yangebup-portal-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 16px;
}

.yangebup-portal-section {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.yangebup-portal-section h3 {
    color: #2c3e50;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #ffd700;
    font-size: 20px;
}

/* Outstanding Balances */
.yangebup-balances-list {
    margin-bottom: 20px;
}

.yangebup-balance-item {
    border: 1px solid #e9ecef;
    border-radius: 6px;
    margin-bottom: 15px;
    padding: 15px;
    transition: background-color 0.3s ease;
}

.yangebup-balance-item:hover {
    background-color: #f8f9fa;
}

.yangebup-balance-checkbox {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    margin: 0;
}

.yangebup-balance-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
}

.yangebup-balance-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.yangebup-balance-info strong {
    font-size: 16px;
    color: #2c3e50;
}

.yangebup-balance-amount {
    font-size: 18px;
    font-weight: 600;
    color: #e74c3c;
}

.yangebup-balance-info small {
    color: #666;
    font-size: 13px;
}

.yangebup-balance-summary {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 20px;
    text-align: center;
}

.yangebup-balance-summary p {
    margin: 0 0 15px 0;
    font-size: 18px;
    color: #2c3e50;
}

.yangebup-balance-summary .yangebup-btn {
    margin: 0 10px;
}

/* Portal Actions */
.yangebup-portal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Login Section */
.yangebup-login-section {
    max-width: 400px;
    margin: 0 auto;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.yangebup-login-section h2 {
    color: #2c3e50;
    margin-bottom: 15px;
    text-align: center;
}

.yangebup-login-section p {
    text-align: center;
    margin-bottom: 20px;
    color: #666;
}

/* Enhanced Loading States */
.yangebup-loading {
    text-align: center;
    padding: 20px;
    color: #666;
    font-style: italic;
}

.yangebup-loading-enhanced {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.yangebup-spinner-large {
    width: 40px;
    height: 40px;
    border: 4px solid #e9ecef;
    border-top: 4px solid #2271b1;
    border-radius: 50%;
    animation: yangebup-spin 1s linear infinite;
    margin-bottom: 15px;
}

.yangebup-loading-message {
    font-size: 16px;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 15px;
}

.yangebup-loading-progress {
    width: 200px;
    height: 4px;
    background: #e9ecef;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.yangebup-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #2271b1, #3498db);
    width: 0%;
    transition: width 0.8s ease-in-out;
    border-radius: 2px;
}

/* Error States */
.yangebup-error-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    background: #fff5f5;
    border: 1px solid #fed7d7;
    border-radius: 8px;
    text-align: center;
}

.yangebup-error-icon {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.yangebup-error-message h4 {
    color: #2d3748;
    margin: 0 0 10px 0;
    font-size: 18px;
}

.yangebup-error-message p {
    color: #4a5568;
    margin: 0 0 10px 0;
    line-height: 1.5;
}

.yangebup-error-details {
    color: #718096;
    font-size: 14px;
    font-style: italic;
    display: block;
    margin-top: 5px;
}

.yangebup-error-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Empty States */
.yangebup-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    text-align: center;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #dee2e6;
}

.yangebup-empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.6;
}

.yangebup-empty-message h4 {
    color: #2c3e50;
    margin: 0 0 15px 0;
    font-size: 20px;
    font-weight: 600;
}

.yangebup-empty-message p {
    color: #6c757d;
    margin: 0 0 10px 0;
    line-height: 1.6;
    font-size: 16px;
}

.yangebup-empty-message ul {
    text-align: left;
    margin: 15px 0;
    padding-left: 20px;
    color: #6c757d;
    max-width: 400px;
}

.yangebup-empty-message li {
    margin-bottom: 8px;
    line-height: 1.4;
}

.yangebup-empty-actions {
    margin-top: 20px;
}

.yangebup-empty-balances {
    background: #f0f9ff;
    border-color: #bae6fd;
}

.yangebup-empty-balances .yangebup-empty-message h4 {
    color: #0369a1;
}

.yangebup-empty-registrations {
    background: #fefce8;
    border-color: #fde047;
}

/* Data Inconsistency Warnings */
.yangebup-notice-warning {
    background: #fffbeb;
    border: 1px solid #fbbf24;
    border-left: 4px solid #f59e0b;
    border-radius: 0 6px 6px 0;
    padding: 15px 20px;
    margin: 15px 0;
}

.yangebup-warning-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.yangebup-warning-icon {
    margin-right: 8px;
    font-size: 18px;
}

.yangebup-warning-header strong {
    color: #92400e;
    font-size: 16px;
}

.yangebup-warning-content p {
    color: #92400e;
    margin: 0 0 10px 0;
    line-height: 1.5;
}

.yangebup-warning-content ul {
    margin: 10px 0 10px 20px;
    color: #92400e;
}

.yangebup-warning-content li {
    margin-bottom: 5px;
}

.yangebup-warning-actions {
    margin-top: 15px;
    text-align: right;
}

/* Button Enhancements */
.yangebup-btn-tertiary {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
    box-shadow: none;
}

.yangebup-btn-tertiary:hover {
    background: #e9ecef;
    color: #495057;
    border-color: #adb5bd;
}

.yangebup-btn:focus {
    outline: 2px solid #2271b1;
    outline-offset: 2px;
}

.yangebup-btn-loading {
    position: relative;
    color: transparent !important;
}

.yangebup-btn-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 16px;
    margin: -8px 0 0 -8px;
    border: 2px solid currentColor;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: yangebup-spin 1s linear infinite;
}

/* Improved Mobile Experience */
@media (max-width: 768px) {
    .yangebup-loading-enhanced,
    .yangebup-error-state,
    .yangebup-empty-state {
        padding: 30px 15px;
    }
    
    .yangebup-error-actions,
    .yangebup-empty-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .yangebup-error-actions .yangebup-btn,
    .yangebup-empty-actions .yangebup-btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .yangebup-loading-progress {
        width: 100%;
        max-width: 250px;
    }
    
    .yangebup-empty-icon {
        font-size: 48px;
    }
    
    .yangebup-empty-message h4 {
        font-size: 18px;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    .yangebup-spinner-large,
    .yangebup-progress-bar,
    .yangebup-btn-loading::after {
        animation: none;
    }
    
    .yangebup-progress-bar {
        transition: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .yangebup-loading-enhanced,
    .yangebup-error-state,
    .yangebup-empty-state {
        border-width: 2px;
        border-style: solid;
    }
    
    .yangebup-spinner-large {
        border-width: 3px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .yangebup-parent-portal {
        padding: 15px;
    }
    
    .yangebup-portal-header {
        padding: 20px;
    }
    
    .yangebup-portal-section {
        padding: 20px;
    }
    
    .yangebup-balance-checkbox {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .yangebup-portal-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .yangebup-portal-actions .yangebup-btn {
        width: 100%;
        max-width: 250px;
    }
}

/* Cart Options */
.yangebup-cart-options {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin-top: 15px;
    text-align: center;
}

.yangebup-cart-options p {
    margin: 0 0 15px 0;
    font-weight: 600;
    color: #2c3e50;
}

.yangebup-cart-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.yangebup-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    min-width: 180px;
}

.yangebup-btn-primary {
    background: linear-gradient(135deg, #27ae60, #219a52);
    color: white;
    box-shadow: 0 2px 4px rgba(39, 174, 96, 0.3);
}

.yangebup-btn-primary:hover {
    background: linear-gradient(135deg, #219a52, #1e8449);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(39, 174, 96, 0.4);
}

.yangebup-btn-secondary {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
    box-shadow: 0 2px 4px rgba(52, 152, 219, 0.3);
}

.yangebup-btn-secondary:hover {
    background: linear-gradient(135deg, #2980b9, #2471a3);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(52, 152, 219, 0.4);
}

.yangebup-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Responsive cart buttons */
@media (max-width: 600px) {
    .yangebup-cart-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .yangebup-btn {
        width: 100%;
        max-width: 280px;
    }
}

/* Smart Emergency Contact Styling */
.yangebup-emergency-contact-selection {
    margin-bottom: 20px;
}

.yangebup-emergency-contact-selection p {
    margin: 0 0 15px 0;
    font-weight: 600;
    color: #2c3e50;
    font-size: 16px;
}

.yangebup-radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.yangebup-radio-option {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
}

.yangebup-radio-option:hover {
    border-color: #3498db;
    background: #f8f9fa;
}

.yangebup-radio-option input[type="radio"] {
    margin: 0 12px 0 0;
    width: 18px;
    height: 18px;
    accent-color: #3498db;
}

.yangebup-radio-option input[type="radio"]:checked + span {
    font-weight: 600;
    color: #2c3e50;
}

.yangebup-radio-option:has(input[type="radio"]:checked) {
    border-color: #3498db;
    background: #e8f4fd;
    box-shadow: 0 2px 4px rgba(52, 152, 219, 0.1);
}

.yangebup-emergency-details {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Enhanced notice styling for emergency contact */
.yangebup-notice-info {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    border-left: 4px solid #17a2b8;
    border-radius: 0 6px 6px 0;
    padding: 15px;
    margin: 15px 0;
}

.yangebup-notice-info p {
    margin: 0;
    color: #0c5460;
    font-size: 14px;
}

/* Mobile responsive emergency contact */
@media (max-width: 600px) {
    .yangebup-radio-option {
        padding: 10px 12px;
    }
    
    .yangebup-radio-option span {
        font-size: 14px;
    }
    
    .yangebup-emergency-details {
        padding: 15px;
    }
}

/* Child Selection Section */
.yangebup-child-selection-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.yangebup-child-selection-section h3 {
    margin-top: 0;
    color: #2c3e50;
}

.yangebup-existing-children {
    display: grid;
    gap: 15px;
    margin: 20px 0;
}

.yangebup-child-card {
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.yangebup-child-card:hover {
    border-color: #007cba;
    box-shadow: 0 2px 8px rgba(0, 124, 186, 0.1);
}

.yangebup-child-card.already-registered {
    background: #f7f7f7;
    opacity: 0.8;
}

.yangebup-child-info h4 {
    margin: 0 0 10px 0;
    color: #2c3e50;
    font-size: 18px;
}

.yangebup-child-info p {
    margin: 0;
    color: #6c757d;
    line-height: 1.6;
}

.yangebup-child-action {
    flex-shrink: 0;
    margin-left: 20px;
}

.yangebup-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.yangebup-badge-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.yangebup-select-child {
    background: #007cba;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.yangebup-select-child:hover {
    background: #005a87;
}

.yangebup-add-new-child {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px dashed #dee2e6;
}

#yangebup-add-new-child {
    background: white;
    color: #007cba;
    border: 2px solid #007cba;
    padding: 12px 24px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
}

#yangebup-add-new-child:hover {
    background: #007cba;
    color: white;
}

#yangebup-existing-player-notice {
    margin-bottom: 20px;
}