/* UrgentMed Auth Form - 6b422492 */
.umaf-6b422492-wrapper {
    max-width: 960px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: #1a2a3a;
    line-height: 1.5;
}

/* Header */
.umaf-6b422492-header {
    margin-bottom: 28px;
}
.umaf-6b422492-form-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a2a3a;
    margin: 0 0 12px;
    line-height: 1.3;
}
.umaf-6b422492-intro {
    font-size: 16px;
    color: #333;
    margin: 0 0 8px;
}
.umaf-6b422492-local-text {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Sections */
.umaf-6b422492-section {
    margin-bottom: 4px;
    border: 1px solid #dde1e6;
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
}
.umaf-6b422492-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 14px 18px;
    background-color: #c41230;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.2s;
}
.umaf-6b422492-section-header:hover {
    opacity: 0.92;
}
.umaf-6b422492-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.25);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}
.umaf-6b422492-toggle-icon {
    margin-left: auto;
    font-size: 12px;
    transition: transform 0.3s;
}
.umaf-6b422492-section-toggle[aria-expanded="false"] .umaf-6b422492-toggle-icon {
    transform: rotate(-90deg);
}
.umaf-6b422492-section-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 20px;
}
.umaf-6b422492-section-body.umaf-6b422492-open {
    max-height: 3000px;
    padding: 20px;
}

/* Grid */
.umaf-6b422492-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}
.umaf-6b422492-row:last-child {
    margin-bottom: 0;
}
.umaf-6b422492-col-12 { flex: 0 0 100%; max-width: 100%; }
.umaf-6b422492-col-6 { flex: 0 0 calc(50% - 8px); max-width: calc(50% - 8px); }
.umaf-6b422492-col-4 { flex: 0 0 calc(33.333% - 11px); max-width: calc(33.333% - 11px); }
.umaf-6b422492-col-3 { flex: 0 0 calc(25% - 12px); max-width: calc(25% - 12px); }
.umaf-6b422492-col-1-5 { flex: 0 0 calc(12.5% - 14px); max-width: calc(12.5% - 14px); }

/* Labels & Inputs */
.umaf-6b422492-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 5px;
}
.umaf-6b422492-req {
    color: #c41230;
}
.umaf-6b422492-input,
.umaf-6b422492-select,
.umaf-6b422492-textarea {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #ccd0d5;
    border-radius: 4px;
    background: #fafbfc;
    color: #1a2a3a;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.umaf-6b422492-input:focus,
.umaf-6b422492-select:focus,
.umaf-6b422492-textarea:focus {
    outline: none;
    border-color: #c41230;
    box-shadow: 0 0 0 3px rgba(196, 18, 48, 0.1);
    background: #fff;
}
.umaf-6b422492-input.umaf-6b422492-invalid {
    border-color: #c41230;
    background: #fff5f5;
}
.umaf-6b422492-textarea {
    resize: vertical;
    min-height: 70px;
}

/* Error messages */
.umaf-6b422492-error {
    display: none;
    font-size: 12px;
    color: #c41230;
    margin-top: 4px;
}
.umaf-6b422492-invalid + .umaf-6b422492-error,
.umaf-6b422492-services-error.umaf-6b422492-visible,
.umaf-6b422492-sig-error.umaf-6b422492-visible {
    display: block;
}

/* Checkbox / Radio groups */
.umaf-6b422492-checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.umaf-6b422492-inline-group {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px;
}
.umaf-6b422492-check-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #333;
    cursor: pointer;
}
.umaf-6b422492-check-label input[type="checkbox"],
.umaf-6b422492-check-label input[type="radio"] {
    width: 16px;
    height: 16px;
    accent-color: #c41230;
    flex-shrink: 0;
}
.umaf-6b422492-grid-group {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

/* Services Grid */
.umaf-6b422492-services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.umaf-6b422492-service-category {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.umaf-6b422492-cat-title {
    font-size: 13px;
    font-weight: 700;
    color: #1a2a3a;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin: 0 0 4px;
    padding-bottom: 4px;
    border-bottom: 2px solid #c41230;
}

/* Subsection */
.umaf-6b422492-subsection {
    background: #f7f8fa;
    border: 1px solid #e2e5ea;
    border-radius: 6px;
    padding: 16px;
    margin: 16px 0;
}
.umaf-6b422492-subsection-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a2a3a;
    margin: 0 0 12px;
}

/* Helper text */
.umaf-6b422492-helper {
    font-size: 13px;
    color: #666;
    margin: 0 0 16px;
    font-style: italic;
}

/* Consent box */
.umaf-6b422492-consent-box {
    background: #f0f4f8;
    border-left: 4px solid #c41230;
    padding: 16px 20px;
    margin-bottom: 20px;
    border-radius: 0 6px 6px 0;
}
.umaf-6b422492-consent-box p {
    margin: 0 0 8px;
    font-size: 14px;
}
.umaf-6b422492-consent-box p:last-child {
    margin-bottom: 0;
}
.umaf-6b422492-consent-text {
    font-weight: 600;
    color: #1a2a3a;
}

/* Signature Pad */
.umaf-6b422492-signature-pad-wrap {
    border: 2px dashed #ccd0d5;
    border-radius: 6px;
    padding: 8px;
    background: #fff;
    display: inline-block;
}
.umaf-6b422492-signature-pad {
    display: block;
    cursor: crosshair;
    touch-action: none;
    max-width: 100%;
}
.umaf-6b422492-clear-sig {
    margin-top: 8px;
    font-size: 12px;
    padding: 4px 12px;
}

/* Copy check */
.umaf-6b422492-copy-check {
    background: #f7f8fa;
    padding: 12px 16px;
    border-radius: 6px;
    border: 1px solid #e2e5ea;
}

/* Buttons */
.umaf-6b422492-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
    padding: 20px 0;
}
.umaf-6b422492-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    line-height: 1.4;
}
.umaf-6b422492-btn-primary {
    background-color: #c41230;
    color: #fff;
    border-color: #c41230;
}
.umaf-6b422492-btn-primary:hover {
    background-color: #a30f28;
    border-color: #a30f28;
}
.umaf-6b422492-btn-secondary {
    background-color: #1a2a3a;
    color: #fff;
    border-color: #1a2a3a;
}
.umaf-6b422492-btn-secondary:hover {
    background-color: #0d1b2a;
}
.umaf-6b422492-btn-outline {
    background: transparent;
    color: #1a2a3a;
    border-color: #ccd0d5;
}
.umaf-6b422492-btn-outline:hover {
    border-color: #1a2a3a;
    background: #f7f8fa;
}
.umaf-6b422492-btn-ghost {
    background: transparent;
    color: #888;
    border-color: transparent;
}
.umaf-6b422492-btn-ghost:hover {
    color: #c41230;
}

/* Loading */
.umaf-6b422492-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.92);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 100;
    border-radius: 6px;
}
.umaf-6b422492-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e2e5ea;
    border-top-color: #c41230;
    border-radius: 50%;
    animation: umaf6b422492spin 0.8s linear infinite;
}
@keyframes umaf6b422492spin {
    to { transform: rotate(360deg); }
}
.umaf-6b422492-form {
    position: relative;
}

/* Success */
.umaf-6b422492-success {
    text-align: center;
    padding: 40px 20px;
    background: #f0fdf4;
    border: 2px solid #22c55e;
    border-radius: 8px;
}
.umaf-6b422492-success-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #22c55e;
    color: #fff;
    font-size: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.umaf-6b422492-success h3 {
    font-size: 22px;
    color: #1a2a3a;
    margin: 0 0 12px;
}
.umaf-6b422492-success > p {
    font-size: 15px;
    color: #333;
    max-width: 600px;
    margin: 0 auto 24px;
}
.umaf-6b422492-locations {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.umaf-6b422492-location-card {
    background: #fff;
    border: 1px solid #dde1e6;
    border-radius: 8px;
    padding: 20px;
    min-width: 260px;
    text-align: left;
}
.umaf-6b422492-location-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: #c41230;
    margin: 0 0 8px;
}
.umaf-6b422492-location-card p {
    font-size: 14px;
    color: #444;
    margin: 0 0 4px;
}
.umaf-6b422492-location-link {
    color: #0066cc;
    text-decoration: none;
    font-weight: 600;
}
.umaf-6b422492-location-link:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .umaf-6b422492-col-6,
    .umaf-6b422492-col-4,
    .umaf-6b422492-col-3,
    .umaf-6b422492-col-1-5 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    .umaf-6b422492-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .umaf-6b422492-grid-group {
        grid-template-columns: repeat(2, 1fr);
    }
    .umaf-6b422492-inline-group {
        flex-direction: column;
    }
    .umaf-6b422492-form-title {
        font-size: 22px;
    }
    .umaf-6b422492-actions {
        flex-direction: column;
    }
    .umaf-6b422492-btn {
        width: 100%;
    }
    .umaf-6b422492-signature-pad {
        width: 100%;
        height: auto;
    }
    .umaf-6b422492-locations {
        flex-direction: column;
        align-items: center;
    }
}
@media (max-width: 480px) {
    .umaf-6b422492-services-grid {
        grid-template-columns: 1fr;
    }
    .umaf-6b422492-grid-group {
        grid-template-columns: 1fr;
    }
    .umaf-6b422492-section-header {
        font-size: 13px;
        padding: 12px 14px;
    }
}

/* Print styles */
@media print {
    .umaf-6b422492-actions,
    .umaf-6b422492-clear-sig,
    .umaf-6b422492-toggle-icon {
        display: none !important;
    }
    .umaf-6b422492-section-body {
        max-height: none !important;
        padding: 16px !important;
        overflow: visible !important;
    }
    .umaf-6b422492-section {
        break-inside: avoid;
    }
    .umaf-6b422492-injury-section,
    .umaf-6b422492-drug-section {
        display: block !important;
    }
}
