/* Combined Water Quality Dashboard Styles */
.wq-full-dashboard {
    font-family: sans-serif;
    margin: 0 auto;
}

/* Dashboard Section Styles */
.dashboard-section {
    margin-bottom: 60px;
}

.dashboard-container {
    position: relative;
    background-color: #022452;
    color: white;
    overflow: hidden;
    margin-bottom: 20px;
}

.dashboard-bg-video {
    position: absolute;
    height: 100%;
    width: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.dashboard-content {
    position: relative;
    padding: 120px 20px 30px;
}

@media (min-width: 768px) {
    .dashboard-content {
        padding: 120px 20px 45px;
    }
}

.dashboard-header {
    text-align: center;
    /*margin-bottom: 40px;*/
}

.dashboard-subtitle {
    text-transform: uppercase;
    margin-bottom: 10px;
}

.dashboard-title {
    font-size: 1.625rem;
    line-height: 2.113rem;
    font-weight: 300;
    letter-spacing: -0.02em;
    color: white;
    /* margin: 0 0 15px; */
    color: #ffffff;
}

@media (min-width: 992px) {
    .dashboard-title {
        font-size: 2.625rem;
        line-height: 3.413rem;
    }
}

.provider-name {
    font-weight: 500;
}

.dashboard-share {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 23px;
    font-size: 16px;
    font-weight: 300;
    margin-top: 22px;
}

.share-buttons {
    display: flex;
    gap: 23px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.share-button {
    background-color: transparent;
    border: none;
    padding: 0;
    color: inherit;
    cursor: pointer;
}

.share-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

.dashboard-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 0;
    /* margin: 40px 0; */
    text-align: center;
}

@media (min-width: 768px) {
    .dashboard-main {
        flex-wrap: nowrap;
    }
}

.dashboard-left {
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

@media (min-width: 768px) {
    .dashboard-left {
        flex: 0 0 50%;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }
}

.progress-container {
    position: relative;
    aspect-ratio: 16/6;
    height: 100%;
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
}

@media (min-width: 576px) {
    .progress-container {
        aspect-ratio: 16/8;
    }
}

@media (min-width: 768px) {
    .progress-container {
        aspect-ratio: 16/5;
    }
}

.circular-progress {
    width: 100%;
    max-width: 368px;
    margin: 0 auto;
}

.progress-trail {
    stroke: rgba(141, 206, 249, 0.2);
    stroke-linecap: round;
    transform: rotate(-0.25turn);
    transform-origin: center center;
    stroke-dasharray: 150.797px, 301.593px;
    stroke-dashoffset: 0;
}

.progress-path {
    stroke: rgb(64, 153, 255);
    stroke-linecap: round;
    transform: rotate(-0.25turn);
    transform-origin: center center;
    transition-duration: 0.5s;
    stroke-dasharray: 150.797px, 301.593px;
}

.contaminant-number {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 70px;
    font-weight: 300;
    color: white;
}

@media (min-width: 576px) {
    .contaminant-number {
        font-size: 120px;
        top: 60%;
    }
}

.contaminant-heading {
    font-size: 1.25rem;
    line-height: 1.5rem;
    font-weight: 300;
    letter-spacing: -0.02em;
    color: white;
    margin: 0;
    text-transform: none;
}

@media (min-width: 992px) {
    .contaminant-heading {
        font-size: 1.75rem;
        line-height: 2.275rem;
    }
}

.contaminant-subheading {
    font-size: 0.813rem;
    font-weight: 200;
    line-height: 1.113rem;
    letter-spacing: 4%;
    text-transform: uppercase;
    margin: 5px 0 0;
}

@media (min-width: 992px) {
    .contaminant-subheading {
        font-size: 1.125rem;
        line-height: 1.54rem;
    }
}

.divider {
    width: 15px;
    border-top: 3px solid rgba(255, 255, 255, 0.1);
    margin: 20px auto;
}

.contaminant-total,
.contaminant-removed {
    font-size: 0.875rem;
    font-weight: 300;
    line-height: 1.225rem;
    margin: 0 0 10px;
}

@media (min-width: 992px) {
    .contaminant-total,
    .contaminant-removed {
        font-size: 1.125rem;
        line-height: 1.406rem;
    }
}

.dashboard-right {
    flex: 0 0 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    text-align: left;
}

@media (min-width: 768px) {
    .dashboard-right {
        flex: 0 0 50%;
        border-top: none;
        padding-top: 0;
    }
}

.water-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

@media (min-width: 768px) {
    .water-info-grid {
        padding-left: 30px;
    }
}

.water-info-cell {
    padding: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 576px) {
    .water-info-cell {
        padding: 20px;
    }
}

.water-info-cell:nth-child(odd) {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.water-info-cell:nth-child(3),
.water-info-cell:nth-child(4) {
    border-bottom: none;
}

.info-label {
    font-size: 0.813rem;
    font-weight: 200;
    line-height: 1.113rem;
    letter-spacing: 4%;
    text-transform: uppercase;
    margin: 0;
}

@media (min-width: 992px) {
    .info-label {
        font-size: 1.125rem;
        line-height: 1.54rem;
    }
}

.info-value {
    margin-top: 10px;
    font-weight: 300;
}

.dashboard-footer {
    text-align: center;
}

.providers-label {
    font-family: monospace;
    font-size: 14px;
    text-transform: uppercase;
    margin-bottom: 26px;
}

.providers-list-container {
    overflow-x: auto;
}

.providers-list {
    display: flex;
    gap: 20px;
    padding: 0;
    margin: 0;
    list-style: none;
}

@media (min-width: 576px) {
    .providers-list {
        flex-wrap: wrap;
        justify-content: center;
    }
}

.provider-button {
    white-space: nowrap;
    border-radius: 9999px;
    border: 1px solid;
    padding: 8px 12px;
    font-size: 12px;
    background: transparent;
    color: white;
    cursor: pointer;
}

.provider-button.active {
    background: white;
    color: #022452;
    border-color: white;
}

@media (min-width: 992px) {
    .provider-button {
        padding: 8px 16px;
        font-size: 14px;
    }
}

.retake-link {
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.retake-button {
    display: flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.retake-icon {
    width: 13px;
    fill: currentColor;
}

.retake-text {
    margin-left: 1rem;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Top Contaminants Section Styles */
.top-contaminants-section {
    margin-bottom: 60px;
}

.contaminants-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.contaminants-header {
    margin-bottom: 40px;
}

.contaminants-title {
    color: #615d54;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 10px;
}

.contaminants-subtitle {
    font-size: 2rem;
    font-weight: 400;
    margin-top: 0;
    color: #1e1915;
}

.city-name {
    font-weight: 500;
    color: #7b624a;
}

.contaminants-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.contaminant-card {
    flex: 1;
    min-width: 320px;
    max-width: 380px;
    padding: 40px 30px;
    position: relative;
    background: #e2dcd6;
    border: 2px solid #615d54;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.contaminant-card:hover {
    border-color: #7b624a;
    box-shadow: 0 4px 12px rgba(123, 98, 74, 0.15);
}

.contaminant-type {
    font-size: 0.9rem;
    color: #615d54;
    margin-bottom: 15px;
}

.contaminant-check {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #7b624a;
}

.contaminant-name {
    font-size: 1rem;
    font-weight: 500;
    margin: 0 0 5px 0;
    color: #1e1915;
}

.contaminant-health-risk {
    color: #615d54;
    margin-bottom: 30px;
}

.contaminant-level {
    font-size: 3rem;
    font-weight: 700;
    color: #1f1f18;
    margin-bottom: 5px;
}

.contaminant-guidelines {
    color: #615d54;
    margin-bottom: 20px;
}

.contaminant-divider {
    border: 0;
    height: 1px;
    background: #615d54;
    margin: 20px 0;
}

.contaminant-filtered-text {
    color: #615d54;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.contaminant-removal-rate {
    font-size: 2.5rem;
    font-weight: 700;
    color: #7b624a;
}

.contaminants-pdf-button {
    margin-top: 50px;
}

.contaminants-pdf-button .button {
    background: #1e1915;
    color: #e2dcd6;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    transition: background 0.3s;
    font-size: 1rem;
    border: 2px solid #1e1915;
}

.contaminants-pdf-button .button:hover {
    background: #4a4338;
    border-color: #4a4338;
    color: #e2dcd6;
}

/* Full Contaminants Section Styles */
.full-contaminants-section {
    margin-bottom: 60px;
}

.water-contaminants-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.water-contaminants-header {
    text-align: center;
    color: #615d54;
    font-size: 18px;
    font-weight: normal;
    margin-bottom: 5px;
}

.water-contaminants-title {
    font-size: 2rem;
    font-weight: 400;
    margin-top: 0;
    margin-bottom: 30px;
    color: #1e1915;
}

.water-contaminants-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.water-contaminants-tab {
    background: #e2dcd6;
    color: #1e1915;
    border: 2px solid #615d54;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.water-contaminants-tab:hover {
    background: #615d54;
    color: #e2dcd6;
}

.water-contaminants-tab.active {
    background: #7b624a;
    color: #e2dcd6;
    border-color: #7b624a;
}

.water-contaminants-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e2dcd6;
    border: 1px solid #615d54;
    border-radius: 20px;
    padding: 10px 20px;
    margin: 20px auto;
    width: fit-content;
    font-size: 14px;
    color: #1e1915;
}

.water-contaminants-check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #7b624a;
    color: #e2dcd6;
    margin-right: 10px;
    font-size: 12px;
}

.water-contaminants-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    align-items: stretch;
}

.water-contaminant-card {
    flex: 1;
    min-width: 320px;
    max-width: 380px;
    padding: 40px 30px;
    position: relative;
    background: #e2dcd6;
    border: 2px solid #615d54;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 460px;
}

.water-contaminant-card:hover {
    border-color: #7b624a;
    box-shadow: 0 4px 12px rgba(123, 98, 74, 0.15);
}

.water-contaminant-header {
    margin-bottom: 10px;
}

.water-contaminant-category {
    font-size: 0.9rem;
    color: #615d54;
    margin-bottom: 15px;
}

.water-contaminant-name {
    font-size: 1rem;
    font-weight: 500;
    margin: 0 0 5px 0;
    color: #1e1915;
}

.water-contaminant-risk {
    color: #615d54;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.water-contaminant-factor {
    text-align: center;
    padding: 20px 0;
}

.water-contaminant-factor-value {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: #1f1f18;
}

.water-contaminant-factor-label {
    display: block;
    font-size: 0.9rem;
    color: #615d54;
}

.water-contaminant-levels {
    margin: 20px 0;
}

.water-contaminant-level {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.water-contaminant-level-label {
    font-size: 0.9rem;
    color: #615d54;
}

.water-contaminant-level-value {
    font-weight: bold;
    font-size: 0.9rem;
    color: #1e1915;
}

.water-contaminant-footer {
    border: 0;
    height: 1px;
    background: #615d54;
    margin: 90px 0;
    margin-top: auto;
}

.water-contaminant-removal {
    font-size: 0.95rem;
    color: #7b624a;
    margin: 0;
}

.water-contaminant-removal-percentage {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #7b624a;
    margin-top: 5px;
}

.water-contaminant-check {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #7b624a;
}

.water-contaminant-check-icon {
    font-size: 1.5rem;
    background: #7b624a;
    color: #e2dcd6;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .contaminant-card,
    .water-contaminant-card {
        min-width: 100%;
    }
    
    .contaminants-subtitle,
    .water-contaminants-title {
        font-size: 1.8rem;
    }
    
    .water-contaminants-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .water-contaminants-tab {
        width: 200px;
    }
}

/* Add styles for heading classes */
.h1-style {
    font-size: 2em;
    font-weight: bold;
    margin: 0.67em 0;
    line-height: 1.2;
}

.h2-style {
    font-size: 1.5em;
    font-weight: bold;
    margin: 0.83em 0;
    line-height: 1.2;
}

.h3-style {
    font-size: 1.17em;
    font-weight: bold;
    margin: 1em 0;
    line-height: 1.2;
}

.h4-style {
    font-size: 1em;
    font-weight: bold;
    margin: 1.33em 0;
}

.h5-style {
    font-size: 0.83em;
    font-weight: bold;
    margin: 1.67em 0;
} 