/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */
/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

.forecast_form {
    max-width: 700px;
    min-width: 450px;
    border-radius: 10px;
    background-color: aliceblue;
    margin: 10px 5px;
    padding: 20px;
}


.mobile_forecast_form {
    max-width: 375px;
    min-width: 375px;
    border-radius: 10px;
    background-color: aliceblue;
    margin: 10px 5px;
    padding: 10px;
}


.dual_forecast_form {
    max-width: 740px;
    min-width: 450px;
    border-radius: 10px;
    background-color: aliceblue;
    margin: 10px 5px;
    padding: 20px;
}

.footer_tag{
    margin-top: 30px;
    margin-left: 25px;
}

.weather_input {
    width: 500px;
    padding: 8px;
    border-radius: 8px;
}

.mobile_weather_input {
    width: 300px;
    padding: 8px;
    border-radius: 8px;
}

.text-left {
    padding-left: 50px;
    padding-bottom: 10px;
}

.weather_div {
    padding: 20px;
    min-width: 500px;
    max-width: 100%;
    border-radius: 8px;
}

.mobile_weather_div {
    padding: 10px;
    min-width: 400px;
    max-width: 400px;
    border-radius: 8px;
}

.mobile-map-container {
    position: relative;
    height: 80%;
    width: 80%;
    overflow: hidden;
}

.mobile-map {
    height: 100%;
    width: 100%;
}

.mobile-overlay-controls {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.95);
    padding: 10px;
    border-radius: 12px;
    z-index: 1000;
}

.result_div {
    padding: 20px;
    min-width: 400px;
    max-width: 95%;
    border-radius: 8px;
}

.dual_result_div {
    padding: 0px;
    min-width: 400px;
    max-width: 95%;
    border-radius: 8px;
}

.geo_formatted {
    margin-top: 10px;
}

.recent_locations {
    margin-top: 30px;
}

.text_only{
    margin-left: 30px;
}
.table_aliceblue{
    background-color: aliceblue;
}

.table_daily_container{
    width: 100%;
    overflow-x: auto;
    margin-left: 30px;
}

.mobile_daily_container{
    width: 100%;
    overflow-x: auto;
    margin-left: 5px;
}

.table_weekly_container{
    width: 100%;
    overflow-y: auto;
    margin-left: 30px;
    max-height: 500px;
}

.table_recent_container{
    width: 100%;
    overflow-y: auto;
    margin-left: 0;
    max-height: 200px;
}

.table_geo_container{
    width: 100%;
    overflow-y: auto;
    max-height: 500px;
}

.table_mobile_geo_container{
    margin: 0 5px;
    width: 370px;
    overflow-y: auto;
    max-height: 350px;
}

.link-button {
    background: none;
    border: none;
    padding: 0;
    color: blue;
    text-decoration: underline;
    cursor: pointer;
}

.table_daily{
    min-height: 150px;
    vertical-align: top;
    line-height: 15px;
    column-width: 100px;
    max-width: 500px;
    overflow-x: auto;
    border-collapse: collapse;
}

.mobile_daily{
    min-height: 150px;
    vertical-align: top;
    line-height: 15px;
    column-width: 100px;
    max-width: 375px;
    overflow-x: auto;
    border-collapse: collapse;
}

.summary_div {
    max-width: 700px;
    min-width: 450px;
    border-radius: 10px;
    background-color: aliceblue;
    margin: 10px 10px;
    padding: 20px;
}

.mobile_summary_div {
    max-width: 350px;
    min-width: 350px;
    border-radius: 10px;
    background-color: aliceblue;
    margin: 10px 10px;
    padding: 20px;
}

.dual_div {
    max-width: 700px;
    min-width: 450px;
    border-radius: 10px;
    background-color: aliceblue;
    margin: 10px 0;
    padding: 20px;
}

.summary_table {
    max-width: 600px;
    min-width: 550px;
    background-color: rgb(11, 94, 215);
    padding: 10px;
    color: white;
}

.forecast_btns_table {
    max-width: 300px;
    min-width: 300px;
    margin-top: 20px;
    background-color: white;
    padding: 10px;
    color: white;
}

.summary_table td {
    padding: 20px;
}

.play-btn {
    width: 80px;        /* ~¼ typical bootstrap width */
    padding-left: 0;
    padding-right: 0;
}

.m-shell { margin: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif; background: #fff; }
.m-home { max-width: 720px; margin: 0 auto; padding: 18px; }

.m-hero { padding: 8px 0 18px; }
.m-hero-image { width: 100%; height: auto; border-radius: 10px; display: block; margin-bottom: -30px; }
.m-title { margin: -6px 0 8px; font-size: 34px; letter-spacing: -0.02em; }
.m-subtitle { margin: 0 0 14px; font-size: 16px; line-height: 1.45; opacity: 0.85; }
.m-note { margin: 10px 0 0; font-size: 13px; opacity: 0.7; }

.m-cta { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 14px 0 0; }
.m-btn { display: block; text-align: center; padding: 12px 14px; border-radius: 14px; text-decoration: none; border: 1px solid #d0d7de; color: inherit; }
.m-btn-primary { border: none; color: #fff; background: #111; }

.m-section { margin-top: 22px; }
.m-h2 { margin: 0 0 10px; font-size: 20px; letter-spacing: -0.01em; }

.m-card { border: 1px solid #e6e6e6; border-radius: 18px; padding: 12px; margin: 12px 0; }
.m-shot { width: 100%; height: auto; border-radius: 14px; display: block; }
.m-card-text { margin: 10px 2px 12px; font-size: 24px; line-height: 1.4; opacity: 0.9; }

.m-list { padding-left: 18px; margin: 8px 0 0; }
.m-list li { margin: 8px 0; opacity: 0.9; }

.m-footer { margin: 24px 0 10px; display: flex; gap: 10px; justify-content: center; opacity: 0.75; }
.m-footer a { color: inherit; text-decoration: none; }

#map {
    position: absolute;
    inset: 0;
}

/* ===== Shared Overlay Card ===== */

.map-overlay {
    position: absolute;
    left: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 12px;
    padding: 8px 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    z-index: 10;
}

/* Header overlay (status) */
.map-overlay.header {
    top: 140px;
    pointer-events: none;
    width: 35%;
}

/* Controls overlay */
.map-overlay.controls {
    bottom: 12px;
}

.overlay-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.overlay-subtitle {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 2px;
}

/* ===== Controls ===== */

.controls-row + .controls-row {
    margin-top: 8px;
}

input[type="range"] {
    width: 100%;
}

/* Mobile tweaks */
@media (max-width: 600px) {
    .overlay-title {
        font-size: 13px;
    }
}

.map-overlay.controls {
    padding: 10px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    border-radius: 14px;
}

.controls-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}
.play-btn {
    width: 76px;     /* ~quarter size feel */
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    border-radius: 12px;
}

#time-slider {
    margin: 6px 0 10px 0;
}

.controls-bottom {
    display: flex;
    gap: 10px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.controls-bottom .btn-group .btn {
    padding: 8px 10px;
    font-weight: 700;
}

/* tighten on very small phones */
@media (max-width: 380px) {
    .play-btn { width: 64px; height: 38px; }
    .pointer-value { font-size: 16px; }
    .controls-bottom .btn-group .btn { padding: 7px 8px; }
}

.map-overlay.controls.hidden {
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
}
