/*
Theme Name: Red Mesa Logistics
Theme URI: https://yoursite.com
Author: Red Mesa Logistics
Author URI: https://yoursite.com
Description: Red Mesa Logistics — a professional US logistics and freight WordPress theme with built-in shipment tracking. Fully Elementor-compatible (Theme Builder header/footer locations, Full Width template, editor styles).
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: redmesa
Tags: logistics, transportation, business, tracking, freight
*/

/* ===== CSS RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:    #e8a020;
  --primary-dk: #c98510;
  --dark:       #0d1b2a;
  --dark-2:     #1a2e44;
  --text:       #4a5568;
  --light-bg:   #f7f9fc;
  --white:      #ffffff;
  --border:     #e2e8f0;
  --radius:     12px;
  --radius-sm:  8px;
  --shadow:     0 4px 24px rgba(13,27,42,.10);
  --shadow-lg:  0 8px 40px rgba(13,27,42,.18);
  --transition: .3s ease;
  --font-main:  'Inter', sans-serif;
  --font-head:  'Poppins', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-main); color: var(--text); background: var(--white); line-height: 1.7; font-size: 16px; }
img  { max-width: 100%; height: auto; display: block; }
a    { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dk); }

/* ===== TYPOGRAPHY ===== */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); color: var(--dark); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }
p  { margin-bottom: 1rem; }

/* ===== LAYOUT ===== */
.container        { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container--wide  { max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.section          { padding: 90px 0; }
.section--gray    { background: var(--light-bg); }
.section__label   { font-size: .8rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--primary); margin-bottom: 12px; }
.section__title   { margin-bottom: 20px; }
.section__subtitle{ color: var(--text); max-width: 600px; margin-bottom: 48px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width:1024px){ .grid-4 { grid-template-columns: repeat(2,1fr); } .grid-3 { grid-template-columns: repeat(2,1fr); } }
@media (max-width:768px) { .grid-2,.grid-3,.grid-4 { grid-template-columns: 1fr; } }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: 50px; font-weight: 600; font-size: .95rem; cursor: pointer; border: 2px solid transparent; transition: all var(--transition); text-decoration: none; }
.btn--primary { background: var(--primary); color: var(--white); border-color: var(--primary); }
.btn--primary:hover { background: var(--primary-dk); border-color: var(--primary-dk); color: var(--white); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(232,160,32,.35); }
.btn--outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn--outline:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }
.btn--dark   { background: var(--dark); color: var(--white); border-color: var(--dark); }
.btn--dark:hover { background: var(--dark-2); border-color: var(--dark-2); color: var(--white); transform: translateY(-2px); }
.btn--white  { background: var(--white); color: var(--dark); border-color: var(--white); }
.btn--white:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* ===== HEADER ===== */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: transparent; transition: all var(--transition); }
.site-header.scrolled { background: var(--dark); box-shadow: var(--shadow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 20px 0; }
.site-logo img { height: 48px; }
.site-logo .logo-text { font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; color: var(--white); letter-spacing: -1px; }
.site-logo .logo-text span { color: var(--primary); }

/* NAV */
.main-nav ul { list-style: none; display: flex; gap: 8px; align-items: center; }
.main-nav a { color: var(--white); font-weight: 500; padding: 8px 14px; border-radius: var(--radius-sm); transition: all var(--transition); font-size: .93rem; }
.main-nav a:hover, .main-nav .current-menu-item a { color: var(--primary); }
.header-cta { display: flex; gap: 12px; align-items: center; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { width: 26px; height: 2px; background: var(--white); border-radius: 2px; transition: all var(--transition); display: block; }

/* TOP BAR */
.top-bar { background: var(--dark-2); color: rgba(255,255,255,.75); font-size: .82rem; padding: 8px 0; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: rgba(255,255,255,.75); }
.top-bar a:hover { color: var(--primary); }
.top-bar-contact { display: flex; gap: 24px; }

/* ===== HERO ===== */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; background: var(--dark); }
.hero-bg { position: absolute; inset: 0; background-image: url('img/hero-bg.jpg'); background-size: cover; background-position: center; opacity: .3; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(13,27,42,.9) 0%, rgba(13,27,42,.6) 100%); }
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(232,160,32,.15); border: 1px solid rgba(232,160,32,.4); color: var(--primary); padding: 8px 18px; border-radius: 50px; font-size: .82rem; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 24px; }
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 span { color: var(--primary); }
.hero p { color: rgba(255,255,255,.75); font-size: 1.15rem; margin-bottom: 36px; max-width: 550px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 60px; flex-wrap: wrap; }
.hero-stat-num { font-family: var(--font-head); font-size: 2.2rem; font-weight: 800; color: var(--white); }
.hero-stat-num span { color: var(--primary); }
.hero-stat-label { color: rgba(255,255,255,.55); font-size: .85rem; }

/* TRACKING WIDGET IN HERO */
.hero-track-widget { background: rgba(255,255,255,.08); backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius); padding: 28px; margin-top: 40px; max-width: 520px; }
.hero-track-widget h4 { color: var(--white); margin-bottom: 6px; font-size: 1rem; }
.hero-track-widget p { color: rgba(255,255,255,.55); font-size: .85rem; margin-bottom: 16px; }
.track-input-row { display: flex; gap: 10px; }
.track-input-row input { flex: 1; padding: 13px 18px; border-radius: 50px; border: 1.5px solid rgba(255,255,255,.2); background: rgba(255,255,255,.1); color: var(--white); font-size: .95rem; outline: none; transition: border-color var(--transition); }
.track-input-row input::placeholder { color: rgba(255,255,255,.4); }
.track-input-row input:focus { border-color: var(--primary); }

/* ===== SERVICES ===== */
.service-card { background: var(--white); border-radius: var(--radius); padding: 36px 28px; border: 1.5px solid var(--border); transition: all var(--transition); position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--primary); transform: scaleX(0); transition: transform var(--transition); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { width: 64px; height: 64px; background: linear-gradient(135deg, var(--primary), var(--primary-dk)); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 1.8rem; }
.service-card h3 { margin-bottom: 12px; }
.service-card p { color: var(--text); font-size: .93rem; }
.service-card .card-link { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 600; font-size: .9rem; margin-top: 16px; }

/* ===== FEATURES ===== */
.feature-item { display: flex; gap: 20px; padding: 24px; border-radius: var(--radius); transition: background var(--transition); }
.feature-item:hover { background: var(--light-bg); }
.feature-num { font-family: var(--font-head); font-size: 2.5rem; font-weight: 800; color: var(--primary); opacity: .3; line-height: 1; flex-shrink: 0; width: 56px; }
.feature-text h4 { margin-bottom: 8px; }
.feature-text p { font-size: .9rem; color: var(--text); margin: 0; }

/* ===== ABOUT ===== */
.about-image-wrap { position: relative; }
.about-image-wrap img { border-radius: var(--radius); }
.about-badge { position: absolute; bottom: -20px; right: -20px; background: var(--primary); color: var(--white); border-radius: var(--radius); padding: 24px; text-align: center; box-shadow: var(--shadow-lg); }
.about-badge .num { font-size: 2.5rem; font-weight: 800; font-family: var(--font-head); display: block; }
.about-badge .label { font-size: .8rem; opacity: .85; }
.about-list { list-style: none; margin: 24px 0; }
.about-list li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: .93rem; }
.about-list li::before { content: '✓'; color: var(--primary); font-weight: 700; }

/* ===== STATS ===== */
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1px; background: var(--border); border-radius: var(--radius); overflow: hidden; }
.stat-item { background: var(--white); padding: 40px 24px; text-align: center; }
.stat-num { font-family: var(--font-head); font-size: 2.8rem; font-weight: 800; color: var(--primary); }
.stat-label { color: var(--text); font-size: .9rem; margin-top: 4px; }
@media (max-width:768px) { .stats-grid { grid-template-columns: repeat(2,1fr); } }

/* ===== TEAM ===== */
.team-card { border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1.5px solid var(--border); transition: all var(--transition); }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.team-card-body { padding: 20px; text-align: center; }
.team-card h4 { margin-bottom: 4px; }
.team-card .role { color: var(--primary); font-size: .85rem; font-weight: 600; }
.team-socials { display: flex; justify-content: center; gap: 10px; margin-top: 12px; }
.team-socials a { width: 34px; height: 34px; border-radius: 50%; background: var(--light-bg); display: flex; align-items: center; justify-content: center; font-size: .8rem; color: var(--text); transition: all var(--transition); }
.team-socials a:hover { background: var(--primary); color: var(--white); }

/* ===== TESTIMONIALS ===== */
.testimonial-card { background: var(--white); border-radius: var(--radius); padding: 32px; border: 1.5px solid var(--border); }
.testimonial-card .stars { color: var(--primary); margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card p { font-style: italic; color: var(--text); margin-bottom: 20px; }
.testimonial-author { display: flex; gap: 12px; align-items: center; }
.testimonial-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial-author strong { display: block; font-size: .9rem; }
.testimonial-author span { color: var(--text); font-size: .82rem; }

/* ===== BLOG ===== */
.blog-card { background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1.5px solid var(--border); transition: all var(--transition); }
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.blog-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .4s ease; }
.blog-card:hover img { transform: scale(1.04); }
.blog-card-img { overflow: hidden; }
.blog-card-body { padding: 24px; }
.blog-card .meta { display: flex; gap: 12px; font-size: .8rem; color: var(--text); margin-bottom: 10px; }
.blog-card .meta .cat { color: var(--primary); font-weight: 600; }
.blog-card h4 a { color: var(--dark); }
.blog-card h4 a:hover { color: var(--primary); }

/* ===== CTA SECTION ===== */
.cta-section { background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%); padding: 80px 0; text-align: center; }
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,.7); margin-bottom: 36px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ===== CONTACT ===== */
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 28px; }
.contact-icon { width: 48px; height: 48px; background: linear-gradient(135deg, var(--primary), var(--primary-dk)); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.1rem; flex-shrink: 0; }
.contact-info-item h4 { font-size: .95rem; margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a { font-size: .9rem; color: var(--text); margin: 0; }

/* ===== FORMS ===== */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: .88rem; color: var(--dark); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 13px 18px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-family: var(--font-main); font-size: .93rem; color: var(--dark); background: var(--white); outline: none; transition: border-color var(--transition); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(232,160,32,.1); }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width:600px) { .form-row { grid-template-columns: 1fr; } }

/* ===== TRACKING PAGE ===== */
.tracking-section { padding: 100px 0; background: var(--light-bg); min-height: 60vh; }
.tracking-box { background: var(--white); border-radius: var(--radius); padding: 48px; box-shadow: var(--shadow); max-width: 720px; margin: 0 auto; }
.tracking-box h2 { text-align: center; margin-bottom: 8px; }
.tracking-box .subtitle { text-align: center; color: var(--text); margin-bottom: 32px; }
.tracking-input-group { display: flex; gap: 12px; }
.tracking-input-group input { flex: 1; padding: 16px 22px; border: 2px solid var(--border); border-radius: 50px; font-size: 1rem; outline: none; transition: border-color var(--transition); }
.tracking-input-group input:focus { border-color: var(--primary); }
.tracking-input-group button { padding: 16px 32px; border-radius: 50px; background: var(--primary); color: var(--white); font-weight: 700; font-size: .95rem; border: none; cursor: pointer; transition: all var(--transition); }
.tracking-input-group button:hover { background: var(--primary-dk); transform: translateY(-2px); }

/* TRACKING RESULT */
.tracking-result { margin-top: 36px; display: none; }
.tracking-result.visible { display: block; }
.tracking-header { background: var(--dark); color: var(--white); border-radius: var(--radius); padding: 24px 28px; display: flex; justify-content: space-between; align-items: center; flex-wrap: gap; gap: 16px; }
.tracking-header .track-num { font-size: .85rem; opacity: .6; }
.tracking-header .track-status { display: inline-flex; align-items: center; gap: 6px; background: var(--primary); color: var(--dark); padding: 6px 14px; border-radius: 50px; font-weight: 700; font-size: .82rem; }
.tracking-details { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); border: 1.5px solid var(--border); border-radius: var(--radius); overflow: hidden; margin-top: 16px; }
.tracking-detail-item { background: var(--white); padding: 20px; }
.tracking-detail-item .label { font-size: .78rem; color: var(--text); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.tracking-detail-item .value { font-weight: 700; color: var(--dark); font-size: .95rem; }
@media (max-width:640px) { .tracking-details { grid-template-columns: 1fr 1fr; } }

/* TIMELINE */
.tracking-timeline { margin-top: 24px; }
.tracking-timeline h4 { margin-bottom: 20px; color: var(--dark); }
.timeline-item { display: flex; gap: 16px; padding-bottom: 24px; position: relative; }
.timeline-item:not(:last-child)::after { content: ''; position: absolute; left: 19px; top: 40px; bottom: 0; width: 2px; background: var(--border); }
.timeline-dot { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1rem; }
.timeline-dot.done   { background: var(--primary); color: var(--white); }
.timeline-dot.active { background: var(--dark); color: var(--white); }
.timeline-dot.pending{ background: var(--border); color: var(--text); }
.timeline-content .loc   { font-weight: 700; color: var(--dark); font-size: .93rem; }
.timeline-content .date  { font-size: .82rem; color: var(--text); margin-top: 2px; }
.timeline-content .notes { font-size: .85rem; color: var(--primary); margin-top: 2px; }

.tracking-error { background: #fff3f3; border: 1.5px solid #fca5a5; border-radius: var(--radius-sm); padding: 16px 20px; color: #b91c1c; text-align: center; margin-top: 20px; display: none; }
.tracking-error.visible { display: block; }

/* ===== QUOTE FORM ===== */
.quote-section { background: var(--dark); padding: 90px 0; }
.quote-section .section__label { color: var(--primary); }
.quote-section .section__title { color: var(--white); }
.quote-form { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 40px; }
.quote-form .form-group label { color: rgba(255,255,255,.8); }
.quote-form input, .quote-form textarea, .quote-form select { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: var(--white); }
.quote-form input::placeholder, .quote-form textarea::placeholder { color: rgba(255,255,255,.35); }
.quote-form input:focus, .quote-form textarea:focus, .quote-form select:focus { border-color: var(--primary); background: rgba(255,255,255,.12); }
.quote-form select option { background: var(--dark-2); color: var(--white); }

/* ===== FOOTER ===== */
.site-footer { background: var(--dark); color: rgba(255,255,255,.65); }
.footer-main { padding: 72px 0 40px; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; }
.footer-brand .logo-text { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; color: var(--white); margin-bottom: 16px; display: block; }
.footer-brand .logo-text span { color: var(--primary); }
.footer-brand p { font-size: .9rem; line-height: 1.7; margin-bottom: 24px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6); font-size: .85rem; transition: all var(--transition); }
.footer-social a:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }
.footer-col h5 { color: var(--white); font-size: .95rem; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer-col h5::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--primary); }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: rgba(255,255,255,.6); font-size: .9rem; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--primary); padding-left: 4px; }
.footer-newsletter input { width: 100%; padding: 11px 16px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: var(--radius-sm) var(--radius-sm) 0 0; color: var(--white); font-size: .9rem; outline: none; }
.footer-newsletter button { width: 100%; padding: 11px 16px; background: var(--primary); color: var(--white); font-weight: 600; font-size: .9rem; border: none; border-radius: 0 0 var(--radius-sm) var(--radius-sm); cursor: pointer; transition: background var(--transition); }
.footer-newsletter button:hover { background: var(--primary-dk); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0; display: flex; justify-content: space-between; align-items: center; font-size: .85rem; flex-wrap: wrap; gap: 12px; }
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--primary); }
@media (max-width:1024px){ .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width:640px) { .footer-main { grid-template-columns: 1fr; } }

/* ===== PAGE HEADER ===== */
.page-header { background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 100%); padding: 160px 0 80px; text-align: center; position: relative; overflow: hidden; }
.page-header::before { content: ''; position: absolute; inset: 0; background: url('img/hero-bg.jpg') center/cover; opacity: .12; }
.page-header .container { position: relative; }
.page-header h1 { color: var(--white); margin-bottom: 12px; }
.breadcrumb { display: flex; justify-content: center; gap: 8px; font-size: .9rem; color: rgba(255,255,255,.5); }
.breadcrumb a { color: rgba(255,255,255,.5); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { opacity: .4; }

/* ===== MISC ===== */
.badge { display: inline-block; padding: 4px 12px; border-radius: 50px; font-size: .78rem; font-weight: 600; }
.badge--primary { background: rgba(232,160,32,.15); color: var(--primary); }
.badge--success { background: rgba(16,185,129,.15); color: #065f46; }
.badge--info    { background: rgba(59,130,246,.15); color: #1e40af; }
.badge--warn    { background: rgba(245,158,11,.15); color: #92400e; }
.divider        { width: 60px; height: 4px; background: var(--primary); border-radius: 2px; margin: 16px 0 32px; }

/* ===== RESPONSIVE NAV ===== */
@media (max-width:900px) {
  .hamburger { display: flex; }
  .main-nav { position: fixed; top: 0; right: -100%; width: 280px; height: 100vh; background: var(--dark); padding: 80px 32px 32px; transition: right var(--transition); box-shadow: var(--shadow-lg); }
  .main-nav.open { right: 0; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .main-nav a { display: block; padding: 12px 0; font-size: 1rem; }
  .header-cta .btn { display: none; }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
.fade-in-up { animation: fadeInUp .6s ease both; }
.delay-1 { animation-delay: .1s; } .delay-2 { animation-delay: .2s; } .delay-3 { animation-delay: .3s; }

/* ===== LOADING SPINNER ===== */
.spinner { display: inline-block; width: 20px; height: 20px; border: 2px solid rgba(255,255,255,.3); border-top-color: var(--white); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== ALERT ===== */
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: .9rem; }
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.alert-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
