.prevly-cma-container {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 32px;
    max-width: 480px;
    margin: 20px auto;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    font-family: inherit;
}

.prevly-cma-header h3 {
    margin-top: 0;
    color: #111827;
    text-align: center;
    font-size: 24px;
}

.prevly-cma-header p {
    text-align: center;
    color: #6b7280;
    margin-bottom: 24px;
}

.form-group { margin-bottom: 16px; }
.form-row { display: flex; gap: 12px; margin-bottom: 16px; }

input[type="text"], input[type="number"], input[type="email"], input[type="tel"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.2s;
    /* Fix for Google Maps Autocomplete Icon */
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    background-size: contain !important;
}

input:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

button#prevly-cma-submit {
    width: 100%;
    background-color: #2563eb;
    color: white;
    font-weight: 600;
    padding: 14px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s;
}

button#prevly-cma-submit:hover { background-color: #1d4ed8; }
button#prevly-cma-submit:disabled { background-color: #9ca3af; cursor: not-allowed; }

#prevly-cma-result.error {
    margin-top: 15px;
    color: #dc2626;
    text-align: center;
    background: #fee2e2;
    padding: 10px;
    border-radius: 6px;
}

/* Result Box */
.cma-success-box {
    text-align: center;
    animation: fadeIn 0.5s ease-out;
}

.cma-price {
    font-size: 42px;
    font-weight: 800;
    color: #059669;
    margin: 10px 0;
}

.cma-price span {
    font-size: 16px;
    color: #6b7280;
    font-weight: normal;
}

.cma-range {
    color: #4b5563;
    font-size: 15px;
    margin-bottom: 15px;
}

.cma-disclaimer {
    font-size: 12px;
    color: #9ca3af;
    margin-top: 20px;
    border-top: 1px solid #f3f4f6;
    padding-top: 10px;
}

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