/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.awqa-app-container {
    max-width: 700px;
    margin: 20px auto;
    padding: 20px;
    /**/background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-family: sans-serif;
    
    /* From https://css.glass
background: rgba(255, 255, 255, 0.18);
border-radius: 16px;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(10.8px);
-webkit-backdrop-filter: blur(10.8px);
border: 1px solid rgba(255, 255, 255, 0.28); */
}

.awqa-step {
    padding: 15px;
    /* border-bottom: 1px solid #eee; */ /* Remove if steps replace each other */
}
/* .awqa-step:last-child {
    border-bottom: none;
} */

.awqa-step h2 {
    margin-top: 0;
    color: #333;
    font-size: 1.8em;
    margin-bottom: 10px;
}
.awqa-step p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* Step 1: Upload */
.awqa-drop-zone {
    border: 2px dashed #ccc;
    border-radius: 6px;
    padding: 30px;
    text-align: center;
    background-color: #fff;
    cursor: pointer;
    transition: background-color 1s ease;
}
.awqa-drop-zone:hover, .awqa-drop-zone.awqa-dragover {
    background-color: #edf7ff;
    border-color: #99c3f0;
}
.awqa-drop-zone-header {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 5px !important; /* Important to override p default */
}
.awqa-drop-zone-subheader {
    font-size: 0.9em;
    color: #777;
     margin-bottom: 10px !important;
}
#awqa-browse-button {
    margin-top: 10px;
}

.awqa-file-preview-container {
    margin-top: 15px;
    padding: 10px;
    background-color: #e9e9e9;
    border-radius: 4px;
    font-size: 0.9em;
    border: 1px solid #41a8f6;
}
.awqa-remove-file {
    background: none;
    border: none;
    color: red;
    font-weight: bold;
    cursor: pointer;
    margin-left: 10px;
}

.awqa-consent-container {
    margin-top: 15px;
    font-size: 0.9em;
}
.awqa-consent-container label {
    display: flex;
    align-items: center;
}
.awqa-consent-container input[type="checkbox"] {
    margin-right: 8px;
}

#awqa-upload-btn {
    display: block;
    width: 100%;
    padding: 12px;
    font-size: 1.1em;
    margin-top: 20px;
}
#awqa-upload-btn:disabled {
    background: radial-gradient(at top center, #41a8f6 0%, #000000 59%);
    opacity: 0.4;
    cursor: not-allowed;
}


/* Step 2: Progress */
.awqa-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3; /* Light grey */
    border-top: 5px solid #41a8f6; /* Blue */
    border-radius: 50%;
    animation: awqa-spin 1s linear infinite;
    margin: 20px auto;
}
@keyframes awqa-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.awqa-progress-bar-container {
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 4px;
    margin: 15px 0;
}
.awqa-progress-bar {
    width: 0%; /* Controlled by JS */
    height: 26px;
    background-image: radial-gradient(at center, #41a8f6 0%, #000000 59%);
    border-radius: 4px;
    text-align: center;
    line-height: 26px;
    color: white;
    transition: width 0.3s ease-in-out;
}
.awqa-status-text {
    text-align: center;
    font-style: italic;
    color: #666;
}

/* Step 3: Results */
.awqa-result-section {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}
.awqa-result-section:last-child {
    border-bottom: none;
}
.awqa-result-section h3 {
    font-size: 1.4em;
    color: #333;
    margin-bottom: 10px;
}
.awqa-result-section ul {
    list-style: disc;
    margin-left: 20px;
    padding-left: 0;
}
.awqa-result-section ul li {
    margin-bottom: 5px;
    line-height: 1.5;
}
#awqa-confidence-section h3 {
    text-align: center;
    font-size: 1.2em;
    color: #555;
}
#awqa-confidence-score {
    font-weight: bold;
    font-size: 1.5em;
    color: #4caf50; /* Green for good confidence */
}

.awqa-result-columns {
    display: flex;
    gap: 20px; /* Space between columns */
    margin-bottom: 15px;
}
.awqa-result-column {
    flex: 1; /* Each column takes equal width */
    background-color: #fff;
    padding: 15px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.awqa-result-column h3 {
    margin-top:0;
    font-size: 1.2em;
}


.awqa-price-estimate-section {
    background-color: #e6f4ff;
    padding: 20px;
    border-radius: 6px;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
    
    
}
.awqa-price-estimate-section h3 {
    color: #41a8f6; /* Blue */
    font-weight: 700;
}
.awqa-price-range {
    font-size: 1.8em;
    font-weight: bold;
    color: #28a745; /* Green */
    margin: 10px 0;
}
.awqa-potential-savings {
    font-size: 1.1em;
    color: #1e7e34;
    margin-bottom: 10px;
}
.awqa-fine-print {
    font-size: 0.85em;
    color: #666;
    margin-top: 10px;
}
.awqa-new-client-bonus {
    margin-top: 15px;
    padding: 10px;
    background-color: #fff3cd; /* Light yellow */
    border: 1px solid #ffeeba;
    border-radius: 4px;
}
.awqa-new-client-bonus h4 {
    margin-top: 0;
    color: #856404; /* Dark yellow/brown */
}


/* Accordion (for Deep Analysis and Lead Capture) */
.awqa-accordion {
    margin-top: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.awqa-accordion-header {
    background: radial-gradient(at top center, #41a8f6 0%, #000000 100%);
    color: #fff;
    cursor: pointer;
    padding: 10px;
    width: 100%;
    text-align: center;
    border: none;
    outline: none;
    font-size: 1.2em;
    transition: background-color 0.2s ease;
    border-radius: 4px 4px 0 0; /* Rounded top corners if content is hidden */
}
.awqa-accordion-header:hover {
    background-color: #e9e9e9;
}
.awqa-accordion-header.active {
     border-radius: 4px 4px 0 0;
}
.awqa-accordion-content {
    padding: 15px;
    background-color: white;
    display: none; /* Hidden by default */
    border-top: 1px solid #ddd;
}
.awqa-accordion-content p {
    margin-bottom: 10px;
}
.awqa-accordion-content label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.awqa-accordion-content input[type="text"],
.awqa-accordion-content input[type="email"],
.awqa-accordion-content input[type="tel"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
.awqa-required {
    color: red;
    font-weight: bold;
}

/* Messages */
.awqa-message {
    padding: 10px;
    margin-top: 15px;
    border-radius: 4px;
    text-align: left;
}
.awqa-message.awqa-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.awqa-message.awqa-error {
    background-color: #fdf0f1;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.awqa-message.awqa-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Self Quote Message */
.awqa-self-quote-message {
    background-color: #d1ecf1; /* Light blue info style */
    color: #0c5460;
    border: 1px solid #bee5eb;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
    text-align: center;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .awqa-app-container {
        margin: 10px;
        padding: 15px;
    }
    .awqa-step h2 {
        font-size: 1.5em;
    }
    .awqa-result-columns {
        flex-direction: column; /* Stack columns on smaller screens */
        box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
    }
}

/* Default WordPress Button Styles (ensure they are loaded or replicate if needed) */

.button-upload-file{
    display: inline-block;
    text-decoration: none;
    font-size: 14px;
    line-height: 2.15384615;
    min-height: 30px;
    margin: 0;
    padding: 0 10px;
    cursor: pointer;
    border-width: 1px;
    border-style: solid;
    -webkit-appearance: none;
    border-radius: 5px;
    white-space: nowrap;
    box-sizing: border-box;
    background: #f3f5f6;
    border-color: #007cba;
    color: #007cba;  
    
    
    
}





.button {
    display: inline-block;
    text-decoration: none;
    font-size: 1.1em;
    line-height: 2.15384615;
    min-height: 60px;
    width:100%;
    margin: 0;
    padding: 0 10px;
    cursor: pointer;
    border-width: 1px;
    border-style: solid;
    -webkit-appearance: none;
    border-radius: 10px;
    white-space: nowrap;
    box-sizing: border-box;
    background: #f3f5f6;
    /*border-color: #007cba;*/
    color: #007cba;
    transition: 1s;
}
.button:hover {
    background: #f1f1f1;
    /*border-color: #0071a1;*/
    color: #0071a1;
}
.button.button-primary {
    background: radial-gradient(at top center, #41a8f6 0%, #000000 100%);
    opacity: 0.9;
    border-color: #ccc;
    color: #fff;
    transition: 1s;
}
.button.button-primary:hover {
    background: radial-gradient(at top center, #41a8f6 0%, #000000 100%);
    opacity: 1;
    /*border-color: #000000;*/
    color: #fff;
}
.button.button-large {
    line-height: 2.3076923;
    min-height: 32px;
    padding: 0 12px;
}
