/* Modal Trigger Button */
.sf-modal-trigger-11efc18c {
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 15px 30px;
    font-size: 18px;
    border-radius: 4px;
    font-weight: 600;
}

/* Modal Overlay */
.sf-modal-overlay-11efc18c {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.6);
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.sf-modal-overlay-11efc18c.sf-hidden {
    display: none !important;
}

/* Modal Content Box */
.sf-modal-content-11efc18c {
    background: #fff;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: sf-fade-in 0.3s ease;
}

@keyframes sf-fade-in {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.sf-modal-close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 30px;
    cursor: pointer;
    line-height: 1;
    color: #333;
    z-index: 10;
}

.sf-modal-close-btn:hover {
    color: #000;
}

/* Container inside modal */
.sf-container-11efc18c {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 40px 30px;
}

.sf-calendar-section, .sf-form-section {
    flex: 1;
    min-width: 300px;
}

.sf-container-11efc18c h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 24px;
    color: #333;
}

.sf-os-note {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 15px;
    font-style: italic;
}

.sf-calendar-wrapper {
    border: 1px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 15px;
}

.sf-calendar-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sf-cal-link {
    display: inline-block;
    padding: 10px 15px;
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9em;
    transition: background 0.3s;
}

.sf-cal-link:hover {
    background: #e0e0e0;
}

.sf-btn-gcal {
    background: #4285f4;
    color: white;
}
.sf-btn-gcal:hover { background: #3367d6; }

.sf-btn-ical {
    background: #333;
    color: white;
}
.sf-btn-ical:hover { background: #111; }


/* Form Styles */
.sf-instructions {
    background: #f9fafd; /* Match light blue BG */
    border-left: 4px solid #467FF7; /* Match Accent */
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 0 4px 4px 0;
    font-size: 0.95em;
}

.sf-instructions ul {
    margin: 5px 0 10px 0;
    padding-left: 20px;
}

.sf-instructions p {
    margin: 0 0 5px 0;
}

.sf-field {
    margin-bottom: 15px;
}

.sf-field label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #444;
}

.sf-field-description {
    font-size: 0.85em;
    color: #666;
    margin-bottom: 8px;
    margin-top: -3px;
}

.sf-field input[type="text"],
.sf-field input[type="tel"],
.sf-field input[type="email"],
.sf-field textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}

.sf-field textarea {
    resize: vertical;
}

.sf-radio-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.sf-radio-group label {
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.sf-follow-up-note {
    font-size: 0.9em;
    color: #444;
    text-align: center;
    margin-bottom: 15px;
}

.sf-submit-btn {
    background: #467FF7; /* Using site Accent color for submit */
    color: #fff;
    border: none;
    padding: 15px 24px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    transition: background 0.3s;
}

.sf-submit-btn:hover {
    background: #1C244B; /* Using site Primary color on hover */
}

.sf-msg {
    margin-top: 15px;
    font-weight: 600;
}

.sf-msg.success {
    color: #28a745;
    padding: 15px;
    background: #e9f7ef;
    border-radius: 4px;
    text-align: center;
}

.sf-msg.error {
    color: #dc3545;
}