/* Basic Page Styling */
body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #e0f7fa, #e1bee7);
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    color: #333;
}

/* Container for Centered Content */
.container {
    max-width: 800px;
    width: 100%;
    padding: 20px;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 3px solid #ce93d8;
}

/* Title and Subtitle Styling */
h1 {
    color: #4a148c;
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 5px;
}

.subtitle {
    text-align: center;
    font-size: 1.2em;
    color: #7b1fa2;
    margin-bottom: 20px;
}

/* Form and Question Styling */
.question {
    margin-bottom: 20px;
    text-align: left;
    font-weight: bold;
}

label {
    display: block;
    font-size: 1.2em;
    color: #6a1b9a;
    margin-bottom: 5px;
}

select, input[type="text"], .btn {
    padding: 12px;
    font-size: 1em;
    width: 100%;
    max-width: 320px;
    margin: 8px auto;
    display: block;
    box-sizing: border-box;
    border-radius: 8px;
    border: 1px solid #9c27b0;
    transition: box-shadow 0.3s ease;
}

/* Button Styling */
.btn {
    background-color: #ab47bc;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    padding: 12px 25px;
    font-size: 1.1em;
}

.btn:hover {
    background-color: #8e24aa;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
}

/* Recommendation Card Styling */
.card {
    background-color: #f3e5f5;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    margin: 20px 0;
    text-align: center;
    border: 2px solid #ce93d8;
}

#result {
    font-weight: bold;
    color: #7b1fa2;
    font-size: 1.4em;
    margin-bottom: 10px;
}

#readMoreLink {
    margin-top: 10px;
    font-size: 1.1em;
    color: #7b1fa2;
}

#readMoreLink a {
    color: #7b1fa2;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

#readMoreLink a:hover {
    color: #4a148c;
    text-decoration: underline;
}

/* Section Divider and Vendor/Installer Section */
hr {
    border: 0;
    border-top: 2px dashed #d1c4e9;
    margin: 30px 0;
}

.section {
    text-align: center;
    padding: 20px 0;
    background-color: #f8bbd0;
    border-radius: 10px;
}

#vendorInstallerResults {
    margin-top: 15px;
    text-align: left;
    color: #4a148c;
}

/* Centering the ZIP Code Input and Label */
.section .question {
    max-width: 300px;
    margin: 0 auto 15px auto; /* Centers the element */
}

/* Responsive Adjustments */
@media (max-width: 600px) {
    .container {
        padding: 15px;
    }

    .btn, select, input[type="text"] {
        max-width: 100%;
        width: 100%;
    }
}
/* Rounded Image Styling */
.glass-info img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px; /* Same radius as container */
    object-fit: cover; /* Adjusts image to fill rounded container */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    margin-top: 10px;
}
