.prior-auth-form {
        margin: 20px 0;
}

.contact-form-required {
    font-style: italic;
    margin-bottom: 20px;
}

.required label:after {
    content: "*";
    color: red;
    margin-left: 3px;
}

.cta, btn {
    color: white;
}
.cta-primary {
    background-color: #6c757d;
    padding: 10px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.cta-primary:hover {
    background-color: #5a6268;
}

.cta-secondary {
    background-color: #fff;
    color: #6c757d;
    padding: 10px 20px;
    border: 2px solid #6c757d;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

.cta-secondary:hover {
    background-color: #f8f9fa;
    border-color: #5a6268;
    color: #5a6268;
    text-decoration: none;
}

.procedure-row {
    margin-bottom: 15px;
    position: relative;
}

.remove-btn {
    margin-left: 10px;
}

#prior-auth-results {
    margin-top: 30px;
}

.result-card {
    border: 1px solid #ddd;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 4px;
    background-color: #fff;
}

.result-card h4 {
    margin-bottom: 15px;
    color: #333;
}

.auth-required {
    color: #d9534f;
    font-weight: bold;
}

.auth-not-required {
    color: #5cb85c;
    font-weight: bold;
}

.auth-undetermined {
    color: #f0ad4e;
    font-weight: bold;
}

.disclaimer {
    background-color: #f8f9fa;
    padding: 15px;
    border-left: 4px solid #6b1f8f;
    margin-bottom: 20px;
    font-size: 14px;
}

.ui-autocomplete {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 1000 !important;
    background: white;
    border: 1px solid #ddd;
}

.ui-menu-item {
    padding: 5px 10px;
    cursor: pointer;
}

.ui-menu-item:hover {
    background-color: #f0f0f0;
}

.loading {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.7);
    z-index: 10;
    text-align: center;
    padding-top: 180px; 
}

.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #6b1f8f;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.error-message {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 15px;
    border-radius: 4px;
    margin: 20px 0;
}

.ui-helper-hidden-accessible {
    display: none !important;
    visibility: hidden !important;
}

@media print {

    #priorAuthPrint, #priorAuthBackToForm {
        display: none !important;
    }
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 15px;
}

.col {
    flex: 1;
}

.col-md-8 {
    flex: 0 0 66.666%;
    max-width: 66.666%;
}

.col-md-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

.form-group {
    margin-bottom: 1rem;
}

.form-control {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    box-sizing: border-box;
}

.col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.text-right {
    text-align: right;
}

.btn-outline-danger {
    color: #dc3545;
    border: 2px solid #dc3545;
    background-color: transparent;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

    .btn-outline-danger:hover {
        color: white;
        background-color: #dc3545;
        border-color: #dc3545;
    }

    .btn-outline-danger:focus {
        outline: none;
        box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
    }

    .btn-outline-danger:active {
        background-color: #bd2130;
        border-color: #b21f2d;
    }

.remove-btn {
    margin-top: 0;
}
