/* General body and form styling */
body {
    background-color: #0f0f0f; /* Dark background */
    color: #fff;
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
}

h2 {
    color: #e63946; /* Red color for the header */
    font-size: 36px;
    margin-bottom: 20px;
}

/* Form styling */
.stormmatch-estimator-form {
    background: #1a1a1a; /* Dark background for the form */
    color: #fff;
    padding: 40px;
    max-width: 600px;
    margin: 40px auto;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
    font-family: 'Lato', sans-serif;
}

.stormmatch-estimator-form input,
.stormmatch-estimator-form button {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 6px;
    border: 1px solid #555;
    font-size: 16px;
}

.stormmatch-estimator-form input {
    background-color: #2a2a2a;
    color: #fff;
}

.stormmatch-estimator-form input::placeholder {
    color: #aaa;
}

.stormmatch-estimator-form button {
    background: #e63946; /* Red color for the button */
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 18px;
}

.stormmatch-estimator-form button:hover {
    background-color: #c92233; /* Darker red on hover */
}

/* Form message handling */
p {
    font-size: 18px;
    margin-top: 15px;
    color: #fff;
}

/* Loading spinner */
#loading {
    display: none;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    color: #fff;
}

.house-spinner {
    width: 30px;
    height: 30px;
    border: 3px solid #e63946;
    border-top: 3px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* Results styling */
.result {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.08);
    max-width: 900px;
    margin: 40px auto;
    text-align: left;
}

.estimate-box {
    background: #fff;
    color: #000;
    padding: 40px;
    border-radius: 12px;
    font-size: 16px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    position: relative;
}

.estimate-box h2 {
    color: #e63946; /* Red color for the header */
}

.quote-price {
    font-size: 20px;
    font-weight: bold;
    margin-top: 10px;
}

.quote-note {
    font-size: 14px;
    color: #444;
}

hr {
    margin: 25px 0;
    border-color: #ccc;
}
