/* Am I Saving Page - Custom Styles Only */

/* Introduction Section - Clean, minimal styling */
.introduction-section {
    margin-bottom: 3rem;
}

.intro-text {
    color: var(--brand-gray);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Neighborhood and Table Section */
.neighborhood-and-table-section {
    margin-bottom: 4rem;
}

.neighborhood-map-button-column {
    display: flex;
    align-items: flex-end;
}

/* Steps List - Custom numbered steps component */
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background-color: var(--brand-blue);
    color: var(--brand-white);
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.step-text {
    color: var(--brand-gray);
    font-size: 1rem;
    line-height: 1.4;
}

/* Image Styling - Enhanced images with shadows */
.chart-example-image,
.water-bill-image {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.water-bill-image {
    max-width: 650px;
}

/* External Links - Custom styling for external resource links */
.external-link {
    color: var(--brand-blue);
    font-weight: 600;
}

.external-link:hover {
    color: var(--brand-blue-dark);
    text-decoration: underline;
}

/* Modal Content - Custom styling for neighborhood map modal */
.modal-content .box {
    max-width: 900px;
    margin: 0 auto;
}

.modal-content img {
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Section Spacing - Clean separation with whitespace */
.am-i-saving-page > .container > div {
    margin-bottom: 4rem;
}

.am-i-saving-page > .container > div:last-child {
    margin-bottom: 2rem;
}

.am-i-saving-page .title.is-4 {
    margin-bottom: 1.5rem;
    padding-top: 0.5rem;
}

/* Content Typography - Enhanced readability */
.am-i-saving-page .content p {
    color: var(--brand-gray);
    line-height: 1.7;
}

.am-i-saving-page .content ul li {
    margin-bottom: 0.5rem;
}

/* Watering Budget Tables - Smooth transitions and styling */
.watering-budget-table {
    display: none;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#no-neighborhood-message {
    animation: fadeIn 0.3s ease-in;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    .am-i-saving-page .page-title {
        font-size: 2rem;
    }

    #show-neighborhood-map {
        width: 100%;
        margin-top: 1rem;
    }

    .how-to-use-section .columns {
        flex-direction: column-reverse;
    }

    .steps-list {
        margin-bottom: 1.5rem;
    }

    .step-number {
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
    }

    .step-text {
        font-size: 0.95rem;
    }
}
