/* =========================================================
   EPHEMERIS.CSS
   Global system styles for Snowflake Skies Ephemeris
   ---------------------------------------------------------
   01. Design Tokens / Reset
   02. Base Page / Layout
   03. Header / Navigation / Brand
   04. Global Typography
   05. Global Hero System
   06. Global Cards / Panels / Tiles
   07. Global Buttons / Links / Pills
   08. Global Forms / Inputs / Checks
   09. Global Tables / Data Rows
   10. Global Modals
   11. Global Autocomplete / Suggestions
   12. Global Status / Score Colors
   13. Footer
   14. Legacy Bridge Selectors During Migration
   15. Auth Banner / Account Modal / Account Menu
   16. Global Location Picker
   17. Global Selects
   18. Reusable Learning Cards
   19. Reusable Recommended Gear
   20. Global Responsive Rules
   ========================================================= */

/* =========================================================
   01. DESIGN TOKENS / RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

:root {
    --bg-dark: #040A12;
    --bg-page: #070F19;
    --panel: rgba(7, 20, 32, 0.88);
    --panel-strong: rgba(7, 20, 32, 0.94);
    --panel-soft: rgba(255, 255, 255, 0.045);
    --panel-softer: rgba(255, 255, 255, 0.035);
    --panel-hover: rgba(255, 255, 255, 0.065);
    --border: rgba(255, 255, 255, 0.10);
    --border-strong: rgba(255, 255, 255, 0.14);
    --text: #f4f1ea;
    --muted: #9aa7b5;
    --muted-light: #c4ced8;
    --gold: #d9a95b;
    --gold-soft: #e7c178;
    --blue: #78cfff;
    --good: #8bd36f;
    --excellent: #3fdf8f;
    --fair: #d9a95b;
    --poor: #ff8f8f;
    --danger: #ff9b9b;
    --success: #8bd3c7;
    --max-width: 1500px;
    --section-gap: 24px;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 14px;
    --shadow-panel: 0 24px 70px rgba(0, 0, 0, 0.32);
    --shadow-modal: 0 40px 120px rgba(0, 0, 0, 0.72);
}

/* =========================================================
   02. BASE PAGE / LAYOUT
   ========================================================= */

html,
body {
    margin: 0;
    min-height: 100%;
    padding-bottom: 58px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--bg-page);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

img {
    max-width: 100%;
}

main,
.app-main {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 34px 96px;
}

.app-section {
    margin-top: var(--section-gap);
}

.app-stack {
    display: grid;
    gap: 18px;
}

.app-stack-sm {
    display: grid;
    gap: 10px;
}

.app-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.app-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.app-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.app-wide {
    grid-column: 1 / -1;
}

.app-scroll-x {
    overflow-x: auto;
}

.app-sticky-side {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 28px;
    align-self: start;
}

/* =========================================================
   03. HEADER / NAVIGATION / BRAND
   ========================================================= */

.site-header {
    width: 100%;
    background: var(--bg-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: sticky;
    top: 0;
    z-index: 9000;
}

.nav-inner {
    max-width: var(--max-width);
    height: 72px;
    margin: 0 auto;
    padding: 0 34px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    overflow: visible;
}

.brand,
.ephemeris-brand {
    display: flex;
    align-items: center;
    color: var(--text);
    text-decoration: none;
}

.ephemeris-nav-logo {
    display: block;
    height: 124px;
    width: auto;
    object-fit: contain;

    transform: translateY(18px);
}

.nav-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    min-width: 0;
}

.main-nav {
    width: 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 46px;
    font-size: 13px;
    color: #d7dde6;
    background: rgba(255, 255, 255, 0.06);
    border-top: 1px solid rgba(217, 169, 91, 0.18);
    border-bottom: 1px solid rgba(217, 169, 91, 0.32);
}

.main-nav a {
    position: relative;
    display: flex;
    align-items: center;
    height: 40px;
    color: #d7dde6;
}

.main-nav a.active,
.main-nav a:hover {
    color: #ffffff;
}

.main-nav a.active::after,
.main-nav a:hover::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--gold);
}

.mobile-nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    background: rgba(255,255,255,.05);
    color: var(--text);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.icon-btn {
    width: 30px;
    height: 30px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: #d7dde6;
    cursor: pointer;
}

.icon-btn svg {
    width: 24px;
    height: 24px;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-btn:hover {
    color: #ffffff;
}

.disabled-nav {
    opacity: 0.45;
    cursor: default;
    pointer-events: none;
}

.coming-soon {
    font-size: 0.7rem;
    opacity: 0.8;
    margin-left: 6px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* =========================================================
   05. GLOBAL HERO SYSTEM
   Used by Gear, Forecast, and future inner pages.
   ========================================================= */

.page-hero {
    margin: 0 -34px var(--section-gap);
    padding: 58px 70px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 48px;
    align-items: stretch;
    background:
        linear-gradient(90deg, rgba(4, 10, 18, 0.96), rgba(4, 10, 18, 0.74)),
        url("../img/hero-stars.jpg") center center / cover no-repeat,
        var(--bg-dark);
}

.page-hero h1 {
    margin: 0 0 22px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 62px;
    line-height: 0.98;
    font-weight: 500;
}

.page-hero h1 em {
    color: var(--gold);
    font-style: italic;
}

.page-hero p {
    color: #c8d3df;
    font-size: 15px;
    line-height: 1.65;
    max-width: 760px;
}

.page-hero-callout {
    padding: 30px;
}

/* =========================================================
   06. GLOBAL CARDS / PANELS / TILES
   ========================================================= */

.app-card,
.app-panel,
.app-callout,
.page-card,
.page-panel,
.page-hero-callout,
.rig-panel,
.rig-tabs-shell,
.rig-details-card,
.rig-equipment-group,
.rig-summary-card,
.rig-save-card,
.weather-card,
.weather-decision-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--shadow-panel);
}

.app-card,
.page-card,
.weather-card {
    padding: 26px 30px;
}

.app-card-sm,
.rig-details-card,
.rig-equipment-group,
.rig-summary-card,
.rig-save-card {
    padding: 22px;
}

.app-card-lg,
.rig-panel,
.rig-tabs-shell {
    padding: 30px 34px;
}

.app-feature-card,
.app-card-gradient,
.page-card-gradient,
.weather-decision-card {
    background:
        radial-gradient(circle at 22% 20%, rgba(120, 207, 255, 0.14), transparent 28%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.025)),
        var(--panel);
}

.app-tile,
.app-subcard,
.rig-tab,
.rig-slot-row,
.weather-overall-gauge,
.weather-metric-tile,
.weather-factor-row,
.weather-weight-list div {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    background: var(--panel-soft);
}

.app-tile {
    padding: 18px;
}

.app-subcard {
    padding: 14px 16px;
}

.app-section-head,
.weather-section-head,
.rig-section-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: end;
    margin-bottom: 18px;
}

.app-section-head h2,
.weather-section-head h2,
.weather-card h2,
.rig-tabs-head h2,
.rig-section-head h2,
.rig-equipment-group h3,
.rig-save-card h3 {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 500;
    color: var(--text);
}

/* =========================================================
   07. GLOBAL BUTTONS / LINKS / PILLS
   ========================================================= */

.app-btn,
.rig-btn,
.weather-date-form button,
.location-panel button,
.signup-form button {
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-sm);
    background: var(--panel-soft);
    color: var(--text);
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.app-btn:hover,
.rig-btn:hover {
    background: rgba(217, 169, 91, 0.08);
    border-color: var(--gold);
    color: var(--gold);
}

.app-btn-primary,
.rig-btn-primary,
.weather-date-form button,
.location-panel button,
.signup-form button {
    background: var(--gold);
    color: #111;
    border-color: var(--gold);
}

.app-btn-primary:hover,
.rig-btn-primary:hover {
    background: var(--gold-soft);
    color: #111;
}

.app-btn-danger,
.rig-btn-danger {
    background: rgba(143, 58, 58, 0.22);
    color: #ffb3b3;
    border-color: rgba(143, 58, 58, 0.45);
}

.app-btn-danger:hover,
.rig-btn-danger:hover {
    background: rgba(143, 58, 58, 0.42);
    border-color: rgba(255, 155, 155, 0.72);
    color: #ffffff;
}

.outline-button,
.app-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 250px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 6px;
    color: var(--text);
    font-size: 13px;
    font-weight: 700;
    margin-top: 16px;
}

.outline-button:hover,
.app-btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.outline-button.full,
.app-btn-full {
    width: 100%;
    min-width: 0;
}

.text-link,
.app-link {
    color: #9dccff;
    font-size: 14px;
}

.text-link:hover,
.app-link:hover {
    color: var(--gold);
}

.app-pill,
.weather-decision-pills span,
.rig-change-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.075);
    color: #d7dde6;
    font-size: 13px;
    font-weight: 800;
}

.app-pill strong,
.weather-decision-pills strong {
    color: var(--gold);
    font-size: 18px;
}

/* =========================================================
   08. GLOBAL FORMS / INPUTS / CHECKS
   ========================================================= */

.app-form-grid,
.rig-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.app-field,
.rig-field {
    position: relative;
}

.app-label,
.rig-field label,
.rig-check span,
.weather-date-form label,
.location-panel label,
.rig-spec-field label {
    display: block;
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 800;
}

.app-label-uppercase,
.weather-date-form label {
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.app-input,
.app-select,
.rig-field input,
.rig-spec-field input,
.rig-spec-field select,
.rig-spec-input-line input,
.weather-date-form input,
.location-panel input,
.signup-form input {
    width: 100%;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-sm);
    background: rgba(4, 10, 18, 0.82);
    color: #fff;
    padding: 0 14px;
    font-size: 14px;
}

.app-input:focus,
.app-select:focus,
.rig-field input:focus,
.rig-spec-field input:focus,
.rig-spec-field select:focus,
.weather-date-form input:focus,
.location-panel input:focus,
.signup-form input:focus {
    outline: none;
    border-color: rgba(217, 169, 91, 0.70);
    box-shadow: 0 0 0 3px rgba(217, 169, 91, 0.12);
}

.app-check,
.rig-check,
.rig-spec-check {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #c8d3df;
    font-size: 14px;
}

.app-check input,
.rig-check input,
.rig-spec-check input {
    width: 16px;
    height: 16px;
}

.app-actions,
.rig-header-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

/* =========================================================
   SUBSCRIBE STRIP
   ========================================================= */

.signup-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 560px);
    align-items: center;
    gap: 40px;
    padding: 34px 42px;
    margin-top: var(--section-gap);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(7, 20, 32, 0.88);
    box-shadow: var(--shadow-panel);
}

.signup-copy h2 {
    margin: 0 0 12px;
    color: var(--text);
    font-size: 28px;
    line-height: 1.15;
}

.signup-copy p {
    margin: 0;
    max-width: 760px;
    color: #d7dde6;
    font-size: 15px;
    line-height: 1.45;
}

.signup-note {
    margin-top: 10px !important;
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 13px !important;
}

.signup-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 170px;
    column-gap: 22px;
    width: 100%;
}

.signup-form input {
    width: calc(100% - 22px);
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-sm);
    background: rgba(4, 10, 18, 0.82);
    color: #fff;
    padding: 0 14px;
    font-size: 14px;
}

.signup-form button {
    width: 170px;
    height: 46px;
    border: 1px solid var(--gold);
    border-radius: var(--radius-sm);
    background: var(--gold);
    color: #111;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

.signup-form button.is-success {
    background: #3fdf8f;
    border-color: #3fdf8f;
    color: #06120b;
}

.signup-form button.is-error {
    background: #ff6b6b;
    border-color: #ff6b6b;
    color: #180606;
}

@media (max-width: 950px) {
    .signup-strip {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .signup-form {
        grid-template-columns: 1fr;
    }

    .signup-form button {
        width: 100%;
    }
}

/* =========================================================
   09. GLOBAL TABLES / DATA ROWS
   ========================================================= */

.app-table-wrap,
.weather-hour-table-wrap,
.weather-source-table-wrap {
    overflow-x: auto;
}

.app-table,
.weather-hour-table,
.weather-source-table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
}

.app-table th,
.app-table td,
.weather-hour-table th,
.weather-hour-table td,
.weather-source-table th,
.weather-source-table td {
    padding: 12px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #d7dde6;
    text-align: left;
    font-size: 13px;
}

.app-table th,
.weather-hour-table th,
.weather-source-table th {
    color: var(--muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.app-data-list,
.weather-factor-list,
.weather-weight-list,
.rig-summary-list,
.rig-change-list {
    display: grid;
    gap: 10px;
}

.app-data-row,
.weather-factor-row,
.weather-weight-list div,
.rig-summary-list div {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    border-radius: 10px;
    background: var(--panel-soft);
}

.app-data-row span,
.weather-factor-row span,
.weather-weight-list span,
.rig-summary-list span {
    color: var(--muted);
    font-weight: 800;
}

.app-data-row strong,
.weather-factor-row strong,
.weather-weight-list strong,
.rig-summary-list strong {
    color: var(--text);
}

/* =========================================================
   10. GLOBAL MODALS
   ========================================================= */

.app-modal,
.location-modal,
.rig-spec-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.app-modal.is-open,
.location-modal.is-open,
.rig-spec-modal.is-open {
    display: block;
}

.app-modal-backdrop,
.location-modal-backdrop,
.rig-spec-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
}

.app-modal-card,
.location-modal-card,
.rig-spec-modal-panel,
.rig-spec-modal-card {
    position: relative;
    z-index: 2;
    width: min(720px, calc(100% - 40px));
    margin: 8vh auto 0;
    padding: 34px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    background: #071421;
    color: var(--text);
    box-shadow: var(--shadow-modal);
}

.app-modal-close,
.location-modal-close,
.rig-spec-close,
.rig-spec-modal-close {
    position: absolute;
    top: 18px;
    right: 20px;
    border: 0;
    background: transparent;
    color: var(--text);
    font-size: 32px;
    cursor: pointer;
}

.app-modal-head,
.rig-spec-modal-head,
.rig-spec-modal-header,
.rig-spec-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.app-modal-head h2,
.location-modal-header h2,
.rig-spec-modal-head h2,
.rig-spec-modal-header h2 {
    margin: 0 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 34px;
    font-weight: 500;
}

.app-modal-copy,
.location-modal-header p,
.rig-spec-modal-head p,
.rig-spec-modal-header p,
.rig-spec-message {
    margin: 8px 0 0;
    color: #aab6c4;
    font-size: 14px;
    line-height: 1.5;
}

/* =========================================================
   11. GLOBAL AUTOCOMPLETE / SUGGESTIONS
   ========================================================= */

.app-suggestions,
.rig-suggestions,
.location-suggestions {
    z-index: 50;
    max-height: 260px;
    overflow-y: auto;
    border: 1px solid rgba(217, 169, 91, 0.28);
    border-radius: var(--radius-sm);
    background: #071421;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.48);
}

.rig-suggestions {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
}

.app-suggestions:empty,
.rig-suggestions:empty {
    display: none;
}

.app-suggestion,
.rig-suggestion,
.location-suggestion {
    padding: 11px 14px;
    cursor: pointer;
    color: #d7dde6;
    font-size: 13px;
}

.app-suggestion:hover,
.rig-suggestion:hover,
.location-suggestion:hover {
    background: rgba(217, 169, 91, 0.12);
    color: var(--gold);
}

.app-suggestion-empty,
.rig-suggestion-empty {
    cursor: default;
    color: var(--muted);
}

.app-suggestion-empty:hover,
.rig-suggestion-empty:hover {
    background: transparent;
    color: var(--muted);
}

/* =========================================================
   12. GLOBAL STATUS / SCORE COLORS
   ========================================================= */

.status-excellent,
.status-great,
.weather-row-excellent td strong,
.weather-row-great td strong {
    color: var(--excellent);
}

.status-good,
.weather-row-good td strong {
    color: var(--good);
}

.status-fair,
.weather-row-fair td strong {
    color: var(--fair);
}

.status-poor,
.weather-row-poor td strong {
    color: var(--poor);
}

.status-success,
.rig-status.is-success,
.rig-spec-message.is-success {
    color: var(--success);
}

.status-error,
.rig-status.is-error,
.rig-spec-message.is-error,
.location-status.is-error {
    color: var(--danger);
}

.status-bg-excellent,
.status-bg-great,
.legend-box.great,
.legend-box.excellent,
.night-block.great,
.night-block.excellent {
    background: #3f7f5f;
}

.status-bg-good,
.legend-box.good,
.night-block.good {
    background: #6e8f5a;
}

.status-bg-fair,
.legend-box.fair,
.night-block.fair {
    background: #8a7a3c;
}

.status-bg-poor,
.legend-box.poor,
.night-block.poor {
    background: #8f3a3a;
}

.legend-box,
.app-legend-box {
    width: 11px;
    height: 11px;
    display: inline-block;
    border-radius: 2px;
}

/* =========================================================
   13. FOOTER
   ========================================================= */

.site-footer {
    margin-top: var(--section-gap);
    padding: 52px 34px 44px;
    background: rgba(7, 20, 32, 0.92);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-bottom: 46px;
    display: grid;
    grid-template-columns: 300px 150px 190px 150px 1fr;
    gap: 46px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-logo {
    margin-bottom: 22px;
}

.footer-brand p {
    margin: 0 0 24px;
    color: #aab6c4;
    font-size: 16px;
    line-height: 1.55;
}

.footer-store-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 48px;
    border: 1px solid rgba(217, 169, 91, 0.58);
    border-radius: var(--radius-sm);
    color: var(--gold);
    font-weight: 800;
}

.footer-store-btn:hover {
    background: rgba(217, 169, 91, 0.08);
}

.footer-col,
.footer-connect {
    padding-top: 8px;
}

.footer-col h4,
.footer-connect h4 {
    margin: 0 0 22px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 14px;
}

.footer-col a {
    display: block;
    margin-bottom: 16px;
    color: #d7dde6;
    font-size: 15px;
}

.footer-col a:hover {
    color: var(--gold);
}

.footer-connect {
    padding-left: 42px;
    border-left: 1px solid rgba(255, 255, 255, 0.10);
}

.social-links {
    display: flex;
    gap: 26px;
    align-items: center;
}

.social-links a {
    color: #b7c1ce;
    font-size: 24px;
    line-height: 1;
}

.social-links a:hover {
    color: var(--gold);
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    color: var(--muted);
    font-size: 15px;
}

.footer-bottom div {
    display: flex;
    gap: 32px;
}

.footer-bottom a:hover {
    color: var(--gold);
}

/* =========================================================
   14. LEGACY BRIDGE SELECTORS DURING MIGRATION
   These keep current pages alive while HTML is renamed.
   Remove after replacing page-specific classes with app-* classes.
   ========================================================= */

.rig-tabs-head p,
.rig-summary-card p,
.rig-save-card p,
.weather-decision-main p {
    color: #c8d3df;
    font-size: 15px;
    line-height: 1.65;
}

.rig-tabs-head .panel-kicker,
.rig-section-head .panel-kicker,
.rig-equipment-group .panel-kicker,
.rig-summary-card .panel-kicker,
.rig-save-card .panel-kicker {
    margin-bottom: 10px;
}


/* =========================================================
   15. AUTH BANNER / ACCOUNT MODAL / ACCOUNT MENU
   ========================================================= */

.auth-banner-line {
    width: 100%;
    padding: 10px 18px;
    font-size: 0.85rem;
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.01em;
    position: relative;
    z-index: 1000;
}

.auth-banner-line span {
    display: inline-block;
}

.auth-banner-line a {
    margin-left: 6px;
    font-weight: 700;
    text-decoration: underline;
}

/* NOT LOGGED IN (Yellow) */
.auth-banner-signin {
    background: #f6c453;
    color: #2a1a00;
}

.auth-banner-signin a {
    color: #1a0f00;
}

/* PROFILE INCOMPLETE (Stronger Gold) */
.auth-banner-profile {
    background: #e0a800;
    color: #1f1400;
}

.auth-banner-profile a {
    color: #000;
}


.auth-banner-close {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 16px;
    cursor: pointer;
    opacity: 0.6;
}

.auth-banner-close:hover {
    opacity: 1;
}

/* ========================================================= 
   08. LOG IN MODAL
   ========================================================= */

.auth-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
}

.auth-modal.is-open {
    display: block;
}

.auth-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2, 8, 15, 0.72);
    backdrop-filter: blur(8px);
}

.auth-modal-card {
    position: relative;
    width: min(500px, calc(100% - 36px));
    margin: 11vh auto 0;
    padding: 38px 42px 34px;
    border-radius: 26px;
    background:
        radial-gradient(circle at top left, rgba(224, 168, 0, 0.08), transparent 38%),
        #071421;
    border: 1px solid rgba(224, 168, 0, 0.36);
    color: #f7fbff;
    box-shadow:
        0 34px 110px rgba(0, 0, 0, 0.62),
        inset 0 0 42px rgba(255, 255, 255, 0.025);
}

.auth-modal-close {
    position: absolute;
    top: 20px;
    right: 22px;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    font-size: 25px;
    line-height: 27px;
    cursor: pointer;
    opacity: 0.72;
}

.auth-modal-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.08);
}

.auth-modal-kicker {
    color: #e0a800;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.auth-modal-card h2 {
    max-width: 340px;
    margin: 0 0 18px;
    font-size: 2.05rem;
    line-height: 1.06;
    letter-spacing: -0.03em;
}

.auth-modal-card p {
    max-width: 360px;
    margin: 0 0 24px;
    color: rgba(247, 251, 255, 0.78);
    font-size: 1rem;
    line-height: 1.62;
}

.auth-modal-actions {
    display: grid;
    gap: 12px;
    margin-top: 4px;
}

.auth-modal-primary,
.auth-modal-secondary,
.auth-modal-guest {
    width: 100%;
    border-radius: 999px;
    padding: 13px 18px;
    text-align: center;
    font-weight: 850;
    text-decoration: none;
    cursor: pointer;
    box-sizing: border-box;
}

.auth-modal-primary {
    background: #e0a800;
    color: #130d00;
    box-shadow: 0 12px 28px rgba(224, 168, 0, 0.18);
}

.auth-modal-primary:hover {
    background: #efb80a;
}

.auth-modal-secondary {
    background: rgba(255, 255, 255, 0.025);
    color: #f7fbff;
    border: 1px solid rgba(255, 255, 255, 0.22);
}

.auth-modal-secondary:hover {
    background: rgba(255, 255, 255, 0.055);
    border-color: rgba(255, 255, 255, 0.34);
}

.auth-modal-guest {
    margin-top: 4px;
    padding: 9px 18px;
    background: transparent;
    color: rgba(247, 251, 255, 0.62);
    border: 0;
    font-size: 0.88rem;
}

.auth-modal-guest:hover {
    color: #f7fbff;
}

.auth-modal-note {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.76rem;
    color: rgba(247, 251, 255, 0.48);
    text-align: center;
    line-height: 1.45;
}

.account-chip {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #e0a800;
    color: #1a1200;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.85rem;
    text-decoration: none;
}

/* ACCOUNT MENU */

.account-menu {
    position: relative;
}

.account-trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text);
    cursor: pointer;
    transition: all 0.15s ease;
}

.account-trigger:hover {
    background: rgba(255,255,255,0.08);
}

.account-name {
    white-space: nowrap;      /* 🔥 THIS prevents wrapping */
    font-size: 14px;
    font-weight: 600;
}

.account-chevron {
    font-size: 12px;
    opacity: 0.7;
}

/* dropdown */

.account-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 10px);
    min-width: 220px;
    background: #071421;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.45);
    padding: 8px 0;
    display: none;
    z-index: 20;
}

.account-dropdown a {
    display: block;
    padding: 10px 14px;
    color: var(--text);
    font-size: 14px;
}

.account-dropdown a:hover {
    background: rgba(255,255,255,0.06);
}

/* open state */
.account-menu.is-open .account-dropdown {
    display: block;
}


/* =========================================================
   16. GLOBAL LOCATION PICKER
   Used by dashboard modal + profile modal
   ========================================================= */

.location-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 22px 0 18px;
}

.location-tabs button {
    min-height: 38px;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.045);
    color: #d7dde6;
    font-size: 12px;
    font-weight: 900;
    cursor: pointer;
}

.location-tabs button:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.location-tabs button.is-active {
    background: var(--gold);
    border-color: var(--gold);
    color: #111;
}

.location-panels {
    margin-top: 0;
}

.location-panel {
    display: none;
}

.location-panel.is-active {
    display: block;
}

.location-panel form {
    display: grid;
    gap: 12px;
}

.location-panel p {
    color: #c8d3df;
    font-size: 14px;
    line-height: 1.5;
}

.location-panel button {
    width: 100%;
}

.location-status {
    min-height: 22px;
    margin-top: 14px;
    color: var(--muted);
    font-size: 13px;
}

.location-status.is-error {
    color: var(--danger);
}

.location-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: var(--text);
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
}

.location-trigger:hover {
    background: rgba(255,255,255,0.08);
}

.location-label {
    color: var(--muted);
    font-weight: 700;
}

.location-name {
    color: var(--text);
    font-weight: 800;
}

.location-chevron {
    font-size: 11px;
    opacity: 0.7;
}

/* =========================================================
   17. GLOBAL SELECT STYLING
   ========================================= */

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-image: url("data:image/svg+xml;utf8,<svg fill='none' stroke='%23cfd6df' stroke-width='2' viewBox='0 0 24 24'><path d='M6 9l6 6 6-6'/></svg>");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;

    padding-right: 36px; /* space for arrow */
}

/* =========================================================
   18. REUSABLE LEARNING CARDS
   ========================================================= */

.learning-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.learning-card {
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(255,255,255,0.03);
    text-decoration: none;
    transition: all 0.22s ease;
}

.learning-card:hover {
    transform: translateY(-3px);
    border-color: rgba(217,169,91,0.35);
    background: rgba(255,255,255,0.05);
}

.learning-card-image {
    height: 150px;
    overflow: hidden;
}

.learning-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.learning-card-content {
    padding: 18px;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.learning-category {
    display: inline-block;
    margin-bottom: 10px;
    color: #9ae6b4;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.learning-card-content strong {
    display: block;
    color: #fff;
    font-size: 1rem;
    line-height: 1.3;
}

.learning-card-content p {
    margin: 10px 0 14px;
    color: rgba(220,230,240,0.78);
    font-size: 0.88rem;
    line-height: 1.5;
}

.learning-card-content small {
    color: var(--gold);
    font-size: 0.82rem;
    font-weight: 700;
}

/* =========================================================
   19. REUSABLE RECOMMENDED GEAR
   Used by dashboard and future recommendation panels.
   ========================================================= */

.gear-panel {
    padding: 34px 36px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--shadow-panel);
}

.recommended-gear-panel .gear-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.recommended-gear-panel .gear-item {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 14px;
    align-items: center;
    padding: 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-decoration: none;
    transition: all 0.2s ease;
}

.recommended-gear-panel .gear-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.10);
    transform: translateY(-1px);
}

.recommended-gear-panel .gear-img {
    width: 86px;
    height: 86px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.recommended-gear-panel .gear-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.recommended-gear-panel .gear-content strong {
    display: block;
    color: #fff;
    font-size: 0.95rem;
    line-height: 1.1;
}

.recommended-gear-panel .gear-content span,
.recommended-gear-panel .gear-content em,
.recommended-gear-panel .gear-content small {
    display: block;
    margin-top: 2px;
}

.recommended-gear-panel .gear-content em {
    color: #f4f1ea;
    font-style: italic;
}

.recommended-gear-panel .gear-content small {
    color: #ffffff;
}

.recommended-gear-panel .outline-button {
    margin-top: 16px;
}


/* =========================================================
   20. GLOBAL RESPONSIVE RULES
   ========================================================= */

@media (max-width: 1100px) {
    .nav-inner {
        grid-template-columns: 260px 1fr 100px;
    }

    .main-nav {
        gap: 22px;
        font-size: 14px;
    }

    .app-grid-2,
    .app-grid-3,
    .app-grid-4 {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .footer-connect {
        padding-left: 0;
        border-left: 0;
    }
}

@media (max-width: 950px) {
    .nav-inner {
        height: 72px;
        padding: 12px 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }

    .main-nav {
        display: none;
        width: 100%;
        height: auto;
        padding: 10px 20px 14px;
        background: #071018;
        border-top: 1px solid rgba(255,255,255,.12);
        border-bottom: 1px solid rgba(217,169,91,.32);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        height: auto;
        display: block;
        padding: 14px 4px;
        font-size: 16px;
        border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .main-nav a:last-child {
        border-bottom: 0;
    }

    .main-nav a.active::after,
    .main-nav a:hover::after {
        display: none;
    }

    .nav-actions {
        justify-content: flex-end;
    }

    .mobile-nav-toggle {
        display: inline-flex;
    }

    main,
    .app-main {
        padding-left: 20px;
        padding-right: 20px;
    }

    .page-hero {
        grid-template-columns: 1fr;
        margin: 0 -20px var(--section-gap);
        padding: 42px 20px;
    }

    .page-hero h1 {
        font-size: 48px;
    }

    .app-section-head,
    .weather-section-head,
    .rig-section-head,
    .app-actions,
    .rig-header-actions {
        display: grid;
        grid-template-columns: 1fr;
        justify-content: flex-start;
    }

    .app-sticky-side {
        position: static;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .footer-bottom {
        display: block;
    }

    .footer-bottom div {
        margin-top: 18px;
    }
}

@media (max-width: 620px) {
    main,
    .app-main {
        padding-left: 14px;
        padding-right: 14px;
        padding-bottom: 64px;
    }

    .site-header {
        overflow: visible;
    }

    .nav-inner {
        padding: 12px 14px;
        grid-template-columns: 1fr auto;
        gap: 10px;
    }

    .brand {
        min-width: 0;
    }

    .brand-symbol {
        width: 34px;
        height: 34px;
    }

    .brand-text strong {
        font-size: 8px;
        letter-spacing: 0.22em;
    }

    .brand-text small {
        font-size: 12px;
        letter-spacing: 0.14em;
    }

    .main-nav {
        width: 100%;
        padding: 8px 14px 12px;
        font-size: 18px;
        gap: 0;
    }

    .nav-actions {
        justify-content: flex-end;
        gap: 8px;
        min-width: 0;
    }

    .location-trigger {
        max-width: 120px;
        padding: 6px 9px;
        font-size: 11px;
    }

    .location-name {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .account-trigger {
        padding: 6px 9px;
    }

    .account-name {
        display: none;
    }

    .page-hero h1 {
        font-size: 42px;
    }

    .app-form-grid,
    .rig-form-grid,
    .app-modal-card,
    .location-modal-card,
    .rig-spec-modal-panel,
    .rig-spec-modal-card {
        grid-template-columns: 1fr;
    }

    .app-btn,
    .rig-btn {
        width: 100%;
    }

    .auth-banner-line {
        padding: 8px 28px 8px 12px;
        font-size: 0.72rem;
        line-height: 1.3;
    }

    .auth-modal-card {
        width: min(100% - 28px, 500px);
        margin-top: 8vh;
        padding: 30px 24px 26px;
    }

    .auth-modal-card h2 {
        font-size: 1.8rem;
    }

    .auth-modal-primary,
    .auth-modal-secondary {
        padding: 12px 14px;
    }

    .location-tabs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .learning-grid {
        grid-template-columns: 1fr;
    }

    .learning-card-image {
        height: 135px;
    }

    .learning-card-content {
        padding: 16px;
    }

    .gear-panel {
        padding: 20px;
    }

    .recommended-gear-panel .gear-item {
        grid-template-columns: 76px 1fr;
        gap: 12px;
        padding: 9px;
    }

    .recommended-gear-panel .gear-img {
        width: 76px;
        height: 76px;
    }

    .recommended-gear-panel .gear-content strong {
        font-size: 0.85rem;
    }

    .site-footer {
        padding: 34px 20px 28px;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
        padding-bottom: 34px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-brand p {
        font-size: 14px;
    }

    .footer-store-btn {
        width: 180px;
        height: 42px;
    }

    .footer-col,
    .footer-connect {
        padding-top: 0;
    }

    .footer-col h4,
    .footer-connect h4 {
        margin-bottom: 14px;
        font-size: 11px;
    }

    .footer-col a {
        margin-bottom: 10px;
        font-size: 13px;
    }

    .footer-connect {
        width: 100%;
        overflow: visible;
    }

    .social-links {
        flex-wrap: wrap;
        gap: 18px;
    }

    .social-links a {
        font-size: 20px;
    }

    .footer-bottom {
        display: block;
        font-size: 12px;
    }

    .footer-bottom div {
        display: flex;
        flex-wrap: wrap;
        gap: 14px;
        margin-top: 16px;
    }
}

/* =========================================================
   SAVED LOCATION MODAL
========================================================= */

.saved-location-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
}

.saved-location-modal[aria-hidden="false"] {
    display: block;
}

.saved-location-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 10, 24, 0.72);
    backdrop-filter: blur(6px);
}

.saved-location-card {
    position: relative;
    width: min(520px, calc(100% - 32px));
    margin: 72px auto;
    background: rgba(10, 18, 38, 0.96);
    border: 1px solid rgba(148, 163, 184, 0.24);
    border-radius: 24px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.52);
    padding: 28px;
    color: #e8eef8;
}

.saved-location-close {
    position: absolute;
    top: 16px;
    right: 18px;
    border: 0;
    background: transparent;
    color: #dbe4f0;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

.saved-location-header h2 {
    margin: 6px 0 8px;
    font-size: 1.45rem;
}

.saved-location-header p {
    margin: 0 0 20px;
    color: #9fb0c7;
}

.saved-location-list {
    display: grid;
    gap: 12px;

    max-height: 60vh;
    overflow-y: auto;
    padding-right: 6px;
}

.saved-location-form {
    margin: 0;
}

.saved-location-option {
    width: 100%;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 16px;
    background: rgba(15, 23, 42, 0.82);
    padding: 15px 16px;
    text-align: left;
    cursor: pointer;
    color: #edf3fb;
    transition:
        border-color 0.18s ease,
        background 0.18s ease,
        transform 0.18s ease;
}

.saved-location-option:hover {
    border-color: rgba(250, 204, 21, 0.55);
    background: rgba(30, 41, 59, 0.92);
    transform: translateY(-1px);
}

.saved-location-option.is-selected {
    border-color: rgba(250, 204, 21, 0.82);
    background: rgba(250, 204, 21, 0.10);
}

.saved-location-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.saved-location-main strong {
    font-size: 1rem;
}

.saved-location-main em {
    font-style: normal;
    font-size: 0.72rem;
    padding: 4px 8px;
    border-radius: 999px;
    border: 1px solid rgba(250, 204, 21, 0.45);
    color: #facc15;
}

.saved-location-sub {
    display: block;
    margin-top: 5px;
    color: #c7d3e4;
    font-size: 0.92rem;
}

.saved-location-type {
    display: block;
    margin-top: 5px;
    color: #8ea2bc;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.saved-location-empty {
    border: 1px dashed rgba(148, 163, 184, 0.28);
    border-radius: 16px;
    padding: 18px;
    background: rgba(15, 23, 42, 0.72);
    color: #c7d3e4;
}

.weather-location-context {
    margin: 0 0 16px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border: 0;
    background: transparent;
}

.weather-location-context span {
    display: inline;
    margin: 0 7px 0 0;
    color: var(--muted);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.10em;
}

.weather-location-context strong {
    display: inline;
    color: #fff;
    font-size: 14px;
}

.weather-location-context small {
    display: inline;
    margin-left: 8px;
    color: var(--muted-light);
    font-size: 12px;
}

.weather-location-context-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.weather-location-context-actions button {
    min-height: 30px;
    padding: 0 11px;
    border: 1px solid rgba(217, 169, 91, 0.24);
    border-radius: 999px;
    background: rgba(7, 20, 32, 0.58);
    color: var(--text);
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
}

.weather-location-context-actions button:hover {
    border-color: var(--gold);
    color: var(--gold);
}

/* =========================================================
   GLOBAL FEEDBACK WIDGET
   ========================================================= */

.feedback-trigger {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9200;
    height: 44px;
    padding: 0 18px;
    border: 1px solid rgba(217, 169, 91, 0.65);
    border-radius: 999px;
    background: var(--gold);
    color: #111;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.38);
}

.feedback-trigger:hover {
    background: var(--gold-soft);
}

.feedback-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
}

.feedback-modal.is-open {
    display: block;
}

.feedback-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(5px);
}

.feedback-card {
    position: relative;
    z-index: 2;
    width: min(520px, calc(100% - 34px));
    margin: 9vh auto 0;
    padding: 30px;
    border: 1px solid rgba(217, 169, 91, 0.28);
    border-radius: 18px;
    background:
        radial-gradient(circle at 18% 14%, rgba(120, 207, 255, 0.10), transparent 30%),
        #071421;
    color: var(--text);
    box-shadow: var(--shadow-modal);
}

.feedback-close {
    position: absolute;
    top: 14px;
    right: 17px;
    border: 0;
    background: transparent;
    color: var(--text);
    font-size: 30px;
    cursor: pointer;
    opacity: 0.75;
}

.feedback-close:hover {
    opacity: 1;
}

.feedback-card h2 {
    margin: 0 0 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 30px;
    font-weight: 500;
}

#feedbackForm {
    display: grid;
    gap: 12px;
}

#feedbackForm textarea,
#feedbackForm input {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--radius-sm);
    background: rgba(4, 10, 18, 0.82);
    color: #fff;
    font-size: 14px;
}

#feedbackForm textarea {
    min-height: 150px;
    padding: 14px;
    resize: vertical;
}

#feedbackForm input {
    height: 44px;
    padding: 0 14px;
}

#feedbackForm textarea:focus,
#feedbackForm input:focus {
    outline: none;
    border-color: rgba(217, 169, 91, 0.70);
    box-shadow: 0 0 0 3px rgba(217, 169, 91, 0.12);
}

#feedbackSubmitBtn {
    height: 44px;
    border: 1px solid var(--gold);
    border-radius: var(--radius-sm);
    background: var(--gold);
    color: #111;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
}

#feedbackSubmitBtn:hover {
    background: var(--gold-soft);
}

#feedbackSubmitBtn:disabled {
    opacity: 0.75;
    cursor: default;
}

.feedback-message {
    min-height: 20px;
    font-size: 13px;
    line-height: 1.35;
    color: var(--muted-light);
}

.feedback-message.is-success {
    color: var(--success);
}

.feedback-message.is-error {
    color: var(--danger);
}

@media (max-width: 620px) {
    .feedback-trigger {
        right: 14px;
        bottom: 14px;
    }

    .feedback-card {
        margin-top: 7vh;
        padding: 24px;
    }
}