/* ══════════════════════════════════════════════════════════════
   LAC Modern UI — shared stylesheet for all member-facing pages
   ══════════════════════════════════════════════════════════════ */

/* ── Page shell ── */
body { background: #f0f0f0; }
html { overflow-y: scroll; }
body { overflow-y: visible !important; }
.rsnp-mnu .ps__rail-y,.rsnp-mnu .ps__thumb-y,
.rsnp-mnu .ps-scrollbar-y-rail,.rsnp-mnu .ps-scrollbar-y { display: none !important; }
.rsnp-mnu { overflow-y: hidden !important; }

/* ── Page Banner ── */
.lac-banner { background: linear-gradient(135deg,#000 55%,#1a0000 100%); padding: 60px 0 44px; position: relative; overflow: hidden; }
.lac-banner::before { content: ''; position: absolute; inset: 0; background: url('../images/canada.jpg') center/cover; opacity: .1; }
.lac-banner .container { position: relative; z-index: 2; }
.lac-banner h1 { color: #fff; font-size: 2.2rem; font-weight: 700; margin-bottom: 8px; }
.lac-banner p  { color: rgba(255,255,255,.8); font-size: 1rem; margin: 0; }
.lac-badge { background: var(--color2); color: #fff; padding: 4px 14px; border-radius: 20px; font-size: .78rem; display: inline-block; margin-bottom: 12px; font-weight: 600; }
.lac-breadcrumb { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; font-size: .8rem; flex-wrap: wrap; }
.lac-breadcrumb a { color: rgba(255,255,255,.65); text-decoration: none; }
.lac-breadcrumb a:hover { color: var(--color2); }
.lac-breadcrumb .sep { color: rgba(255,255,255,.35); }
.lac-breadcrumb .current { color: rgba(255,255,255,.9); font-weight: 600; }
@media(max-width:768px) { .lac-banner h1 { font-size: 1.6rem; } }

/* ── Section wrapper ── */
.lac-section { background: #f0f0f0; padding: 44px 0 80px; }

/* ── Card / Panel ── */
.lac-card { background: #fff; border-radius: 14px; box-shadow: 0 4px 24px rgba(0,0,0,.09); overflow: hidden; margin-bottom: 22px; }
.lac-card-head { background: linear-gradient(135deg,#111,#2a0000); padding: 16px 24px; }
.lac-card-head h2 { color: #fff; margin: 0; font-size: 1.05rem; font-weight: 700; }
.lac-card-head h2 i { color: var(--color2); margin-right: 8px; }
.lac-card-head p { color: rgba(255,255,255,.65); font-size: .82rem; margin: 4px 0 0; }
.lac-card-body { padding: 26px 28px; }
@media(max-width:600px) { .lac-card-body { padding: 18px 16px; } }

/* ── Section divider inside card ── */
.lac-field-section { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .7px; color: #bbb; margin: 22px 0 10px; padding-bottom: 5px; border-bottom: 1px solid #f0f0f0; }

/* ── Form elements ── */
.lac-label { display: block; font-size: .8rem; font-weight: 600; color: #555; margin-bottom: 5px; }
.lac-label .opt { font-weight: 400; color: #bbb; font-size: .75rem; }
.lac-input, .lac-select, .lac-textarea {
    width: 100%; border: 1.5px solid #e0e0e0; border-radius: 8px;
    padding: 10px 14px; font-size: .9rem; background: #fff;
    transition: border-color .2s, box-shadow .2s; font-family: inherit;
}
.lac-input:focus, .lac-select:focus, .lac-textarea:focus {
    border-color: var(--color2); outline: none;
    box-shadow: 0 0 0 3px rgba(16,172,132,.1);
}
.lac-select { height: 44px; cursor: pointer; }
.lac-textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.lac-input[type=file] { border: none; padding: 0; height: auto; background: transparent; }
.lac-input[readonly] { background: #f8f8f8; color: #999; cursor: not-allowed; }
.lac-field-hint { font-size: .75rem; color: #aaa; margin-top: 4px; }

/* ── Toggle (iOS switch) ── */
.lac-toggle-row { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: #f8f8f8; border: 1px solid #eee; border-radius: 10px; margin-bottom: 14px; }
.lac-toggle-row .lt-text { flex: 1; }
.lac-toggle-row .lt-label { font-weight: 700; font-size: .88rem; color: #111; display: block; }
.lac-toggle-row .lt-sub { font-size: .76rem; color: #aaa; margin-top: 2px; display: block; }
.lac-toggle { position: relative; width: 46px; height: 26px; display: inline-block; flex-shrink: 0; }
.lac-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.lac-toggle .sl { position: absolute; inset: 0; border-radius: 13px; cursor: pointer; transition: .3s; background: #ccc; }
.lac-toggle input:checked + .sl { background: var(--color2); }
.lac-toggle .th { position: absolute; width: 20px; height: 20px; bottom: 3px; left: 3px; background: #fff; border-radius: 50%; transition: .3s; box-shadow: 0 1px 4px rgba(0,0,0,.2); }
.lac-toggle input:checked ~ .th { left: 23px; }

/* ── Star rating ── */
.star-pick { display: flex; gap: 4px; direction: rtl; margin-bottom: 8px; }
.star-pick input[type=radio] { display: none; }
.star-pick label { cursor: pointer; font-size: 1.5rem; color: #ddd; transition: color .1s; direction: ltr; }
.star-pick input:checked ~ label, .star-pick label:hover, .star-pick label:hover ~ label { color: #f39c12; }

/* ── Buttons ── */
.lac-btn { display: inline-flex; align-items: center; gap: 7px; padding: 11px 26px; border-radius: 8px; font-weight: 700; font-size: .9rem; cursor: pointer; text-decoration: none; transition: all .2s, transform .15s; border: none; font-family: inherit; }
.lac-btn-primary { background: linear-gradient(135deg, #0a8a6a 0%, #10ac84 60%, #0d9d7a 100%); color: #fff; box-shadow: 0 4px 14px rgba(16,172,132,.3); }
.lac-btn-primary:hover { background: linear-gradient(135deg, #0d9d7a 0%, #14c99a 60%, #0a8a6a 100%); color: #fff; box-shadow: 0 6px 18px rgba(16,172,132,.35); transform: translateY(-1px); }
.lac-btn-green { background: linear-gradient(135deg, #0a8a6a 0%, var(--color2) 50%, #0d9d7a 100%); color: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.2); }
.lac-btn-green:hover { background: linear-gradient(135deg, #0d9d7a 0%, #12c99a 50%, #0a8a6a 100%); color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.25); transform: translateY(-1px); }
.lac-btn-outline { background: transparent; color: #555; border: 1.5px solid #ddd; }
.lac-btn-outline:hover { border-color: var(--color2); color: var(--color2); }
.lac-btn-block { width: 100%; justify-content: center; padding: 13px; }

/* ── Alert / Flash messages ── */
.lac-flash { border-radius: 10px; padding: 12px 16px; margin-bottom: 18px; font-size: .87rem; display: flex; align-items: center; gap: 10px; }
.lac-flash-success { background: #d4edda; border: 1px solid #c3e6cb; color: #155724; }
.lac-flash-error   { background: #f8d7da; border: 1px solid #f5c6cb; color: #721c24; }
.lac-flash-info    { background: #d1ecf1; border: 1px solid #bee5eb; color: #0c5460; }

/* ── Two-column form grid ── */
.lac-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.lac-form-grid .span2 { grid-column: 1 / -1; }
@media(max-width:600px) { .lac-form-grid { grid-template-columns: 1fr; } .lac-form-grid .span2 { grid-column: 1; } }

/* ── Page max-width wrapper ── */
.lac-page-wrap { max-width: 760px; margin: 0 auto; }
.lac-page-wrap-wide { max-width: 960px; margin: 0 auto; }

/* ── Global button overrides — red gradient on thm-btn buttons ── */
/* Keeps site's red theme, adds gradient depth and shadow */
a.thm-btn.thm-bg,
button.thm-btn.thm-bg,
input[type="submit"].thm-btn.thm-bg {
    background: linear-gradient(135deg, #cc0000 0%, #ff0000 60%, #dd0000 100%) !important;
    box-shadow: 0 4px 14px rgba(200,0,0,.35) !important;
}
a.thm-btn.thm-bg:hover,
button.thm-btn.thm-bg:hover {
    background: linear-gradient(135deg, #dd0000 0%, #ff2020 60%, #cc0000 100%) !important;
    box-shadow: 0 6px 18px rgba(200,0,0,.45) !important;
    transform: translateY(-1px);
}
