/* ==============================================================
   SKYSPARROWS — FOOTER + LOGIN / SIGN UP MODAL
   Markup: front/layouts/footer.blade.php (loaded on every page).
   All @media rules live in responsive.css.
   ============================================================== */

/* ====== FOOTER ====== */
footer { background: var(--dark); color: rgba(255, 255, 255, 0.72); position: relative; padding: 0 0 8px; }
footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--accent); }
footer h6 { color: var(--white); font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
footer a { color: rgba(255, 255, 255, 0.65); transition: color 0.2s; }
footer a:hover { color: var(--gold); }

/* top contact bar */
.footer-top-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding: 30px 0 24px; margin-bottom: 36px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.footer-top-bar h5 { color: var(--white); font-family: var(--font-display); font-size: 1.35rem; margin: 0; }
.footer-top-bar h5 span { font-family: var(--font-body); font-size: 0.95rem; font-weight: 400; color: rgba(255, 255, 255, 0.7); margin-left: 8px; }
.footer-top-phone { display: inline-flex; align-items: center; gap: 10px; padding: 10px 20px; border-radius: var(--radius-pill); background: var(--accent); color: var(--white); font-weight: 700; font-size: 1rem; }
footer .footer-top-phone:hover { color: var(--white); transform: translateY(-1px); }

/* tabs */
.footer-tabs-nav { display: flex; flex-direction: column; gap: 4px; border-left: 1px solid rgba(255, 255, 255, 0.12); }
.footer-tab { position: relative; text-align: left; border: 0; background: none; padding: 10px 16px; margin-left: -1px; border-left: 3px solid transparent; color: rgba(255, 255, 255, 0.65); font-weight: 600; font-size: 0.9rem; transition: color 0.2s, border-color 0.2s, background 0.2s; }
.footer-tab:hover { color: var(--white); }
.footer-tab.active { color: var(--white); border-left-color: var(--accent); background: rgba(255, 255, 255, 0.06); }

.footer-tab-panel { display: none; }
.footer-tab-panel.active { display: block; animation: authIn 0.35s ease; }
.footer-panel-intro { font-size: 0.9rem; color: rgba(255, 255, 255, 0.72); margin-bottom: 18px; }
.footer-columns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 24px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { font-size: 0.86rem; }
/* blog tab: lambe title 2 line tak, baaki title attribute me */
.footer-blog-links li { margin-bottom: 12px; }
.footer-blog-links a { display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.45; }
.footer-viewall { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 0.88rem; font-weight: 700; color: var(--white); }
.footer-viewall i { font-size: 0.75rem; transition: transform 0.2s; }
.footer-viewall:hover { color: var(--accent); }
.footer-viewall:hover i { transform: translateX(3px); }

.footer-divider { border-color: rgba(255, 255, 255, 0.12); opacity: 1; margin: 40px 0 36px; }

/* brand / apps / payments */
.footer-logo { height: 56px; width: auto; max-width: 220px; object-fit: contain; margin-bottom: 18px; }
.footer-contact { list-style: none; padding: 0; margin: 0 0 22px; font-size: 0.86rem; }
.footer-contact li { display: flex; gap: 10px; margin-bottom: 10px; line-height: 1.5; }
.footer-contact a { display: flex; gap: 10px; }
.footer-contact i { color: var(--accent); width: 16px; margin-top: 3px; }
.social-links a { display: inline-flex; width: 38px; height: 38px; background: rgba(255, 255, 255, 0.08); border-radius: 12px; align-items: center; justify-content: center; color: rgba(255, 255, 255, 0.75); margin-right: 8px; font-size: 0.9rem; transition: all 0.2s; }
.social-links a:hover { background: var(--accent); color: var(--white); transform: translateY(-2px); }
.app-badges { display: inline-flex; flex-wrap: wrap; gap: 10px; }
.app-badges img { height: 40px; width: auto; }
.payment-icons { display: inline-flex; flex-wrap: wrap; gap: 12px; font-size: 2.1rem; color: var(--white); }

.footer-copyright { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; margin-top: 40px; padding: 18px 0 10px; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.8rem; }
.footer-copyright nav { display: flex; gap: 18px; }

/* ====== LOGIN / SIGN UP MODAL ====== */
.auth-modal .modal-content { border: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 80px rgba(var(--primary-rgb), 0.3); }
.auth-modal .modal-dialog { max-width: 860px; }
.modal-backdrop.show { opacity: 0.6; }
.auth-close { position: absolute; top: 16px; right: 16px; z-index: 3; background-color: var(--bg-light); border-radius: 50%; padding: 10px; opacity: 1; }

.auth-side { position: relative; flex-direction: column; justify-content: space-between; gap: 32px; padding: 40px 34px; background: var(--primary); color: var(--white); overflow: hidden; }
.auth-side::before, .auth-side::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.08); }
.auth-side::before { width: 260px; height: 260px; top: -90px; right: -110px; }
.auth-side::after { width: 180px; height: 180px; bottom: -70px; left: -60px; background: rgba(var(--accent-rgb), 0.25); }
.auth-side > * { position: relative; z-index: 1; }
.auth-side-logo { height: 70px; background: var(--white); padding: 6px 12px; border-radius: 12px; margin-bottom: 28px; }
.auth-side h3 { font-family: var(--font-display); font-size: 1.75rem; line-height: 1.25; color: var(--white); margin-bottom: 12px; }
.auth-side p { color: rgba(255, 255, 255, 0.8); font-size: 0.92rem; margin: 0; }
.auth-perks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.auth-perks li { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; font-weight: 500; }
.auth-perks i { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 10px; background: rgba(255, 255, 255, 0.14); color: var(--gold); }

.auth-main { padding: 40px 38px 32px; background: var(--white); }
.auth-tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-light); border-radius: var(--radius-pill); padding: 5px; margin: 0 40px 26px 0; }
.auth-tab { position: relative; z-index: 1; border: 0; background: none; padding: 10px; font-weight: 600; font-size: 0.92rem; color: var(--text-light); border-radius: var(--radius-pill); transition: color var(--ease); }
.auth-tab.active { color: var(--primary); }
.auth-tab-ink { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); background: var(--white); border-radius: var(--radius-pill); box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.08); transition: transform var(--ease); }
.auth-tabs.is-signup .auth-tab-ink { transform: translateX(100%); }

.auth-pane { display: none; }
.auth-pane.active { display: block; animation: authIn 0.35s ease; }
@keyframes authIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.auth-pane h4 { font-family: var(--font-display); font-size: 1.5rem; color: var(--dark); margin-bottom: 4px; }
.auth-sub { color: var(--text-light); font-size: 0.9rem; margin-bottom: 22px; }

.auth-field { position: relative; margin-bottom: 14px; }
.auth-field > i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--text-light); font-size: 0.9rem; pointer-events: none; }
.auth-field .form-control { height: 50px; padding: 0 44px; border-radius: 12px; border: 1.5px solid var(--border); background: var(--bg-light); font-size: 0.92rem; transition: border-color var(--ease), background var(--ease); }
.auth-field .form-control:focus { background: var(--white); }
.auth-field:focus-within > i { color: var(--primary); }
.auth-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--text-light); padding: 8px; }
.auth-eye:hover { color: var(--primary); }

.auth-row { font-size: 0.86rem; }
.auth-row a, .auth-switch a, .auth-terms a { color: var(--primary); font-weight: 600; }
.auth-row a:hover, .auth-switch a:hover, .auth-terms a:hover { color: var(--accent); }
.auth-terms { font-size: 0.8rem; color: var(--text-light); margin: 4px 0 16px; }

.auth-submit { width: 100%; height: 52px; border: 0; border-radius: 12px; background: var(--primary); color: var(--white); font-weight: 700; font-size: 0.98rem; display: flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 10px 24px rgba(var(--primary-rgb), 0.28); transition: box-shadow var(--ease), transform 0.2s ease; }
.auth-submit:hover { transform: translateY(-1px); box-shadow: 0 14px 30px rgba(var(--primary-rgb), 0.36); }
.auth-submit:disabled { opacity: 0.8; transform: none; }
.auth-switch { text-align: center; font-size: 0.88rem; color: var(--text-light); margin: 18px 0 0; }

.auth-alert { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; margin-bottom: 18px; border-radius: 12px; background: rgba(var(--accent-rgb), 0.08); border: 1px solid rgba(var(--accent-rgb), 0.25); color: var(--dark); font-size: 0.88rem; font-weight: 500; }
.auth-alert i { color: var(--accent); margin-top: 3px; }
