/* ==========================================================================
   SmartRoam Unified Dark Layout & Responsive UI Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Global Presets & Document Root
   -------------------------------------------------------------------------- */
:root, body, .wp-site-blocks {
  --wp--preset--color--base: #09090b !important;
  --wp--preset--color--base-2: #18181b !important;
  --wp--preset--color--contrast: #ffffff !important;
  --wp--preset--color--white: #09090b !important;
}

html, body, .wp-site-blocks, .site-content, main {
  background-color: #09090b !important;
  color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   1. Header, Navigation & Logo Layout
   -------------------------------------------------------------------------- */
header, .site-header, header.wp-block-template-part, header .wp-block-group,
header .wp-block-group.has-background, header > div, .site-header > div,
header .wp-block-navigation, header .wp-block-navigation__responsive-container {
  background-color: #09090b !important;
  background: #09090b !important;
  border-color: #1f1f23 !important;
}

header, .site-header, header.wp-block-template-part {
  border-bottom: 1px solid #1f1f23 !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  min-height: unset !important;
  box-sizing: border-box !important;
}

header nav a, header .wp-block-navigation a, header .wp-block-navigation-item__content,
header .wp-block-navigation-item__label, .site-header a {
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 0.92rem !important;
  font-weight: 600 !important;
}

header nav a:hover, header .wp-block-navigation a:hover,
header .wp-block-navigation-item__content:hover, .site-header a:hover {
  color: #ff6900 !important;
}

header .custom-logo, header .site-logo img, header .wp-block-site-logo img {
  max-height: 28px !important;
  width: auto !important;
  display: block !important;
}

header .site-description, header .wp-block-site-tagline {
  display: none !important;
}

body:has(#sr-header-ribbon:not([style*="display: none"])) header.is-sticky,
body:has(#sr-header-ribbon:not([style*="display: none"])) .site-header.is-sticky {
  top: 36px !important;
  z-index: 99990 !important;
}

/* --------------------------------------------------------------------------
   2. Typography, Inline Code & Separators
   -------------------------------------------------------------------------- */
#sr-header-ribbon code {
  background: rgba(0, 0, 0, 0.35) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  padding: 3px 8px !important;
  border-radius: 4px !important;
  display: inline-block !important;
}

.smartroam-promo-box code, #sr-code-val {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  padding: 0 !important;
  color: #ffffff !important;
}

.entry-content code, p > code, li > code {
  background-color: rgba(255, 255, 255, 0.1) !important;
  color: #ff6900 !important;
  border: 1px solid #3f3f46 !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
}

.wp-block-separator, hr.wp-block-separator {
  border-color: #27272a !important;
  background-color: transparent !important;
}

.wp-block-spacer {
  background-color: transparent !important;
  background: transparent !important;
}

/* --------------------------------------------------------------------------
   3. Responsive Dark Tables
   -------------------------------------------------------------------------- */
.wp-block-table, figure.wp-block-table, .entry-content .wp-block-table {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  background-color: #18181b !important;
  border: 1px solid #27272a !important;
  border-radius: 10px !important;
  margin: 28px 0 !important;
  box-sizing: border-box !important;
}

.wp-block-table table, .entry-content table, table {
  width: 100% !important;
  min-width: 580px !important;
  border-collapse: collapse !important;
  border: none !important;
  margin: 0 !important;
  background: transparent !important;
  color: #d4d4d8 !important;
}

.wp-block-table th, .entry-content table th, table th {
  background-color: #111113 !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  padding: 14px 16px !important;
  border: 1px solid #27272a !important;
  border-top: none !important;
  text-align: left !important;
  white-space: nowrap !important;
}

.wp-block-table td, .entry-content table td, table td {
  background-color: #18181b !important;
  color: #d4d4d8 !important;
  font-size: 0.88rem !important;
  padding: 12px 16px !important;
  border: 1px solid #27272a !important;
  line-height: 1.5 !important;
}

.wp-block-table td strong, .entry-content table td strong {
  color: #ffffff !important;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(odd) td,
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) th {
  background-color: #18181b !important;
}

.wp-block-table.is-style-stripes tbody tr:nth-child(even) td,
.wp-block-table.is-style-stripes tbody tr:nth-child(even) th {
  background-color: #121215 !important;
}

.wp-block-table::-webkit-scrollbar {
  height: 6px !important;
}

.wp-block-table::-webkit-scrollbar-track {
  background: #111113 !important;
  border-radius: 0 0 10px 10px !important;
}

.wp-block-table::-webkit-scrollbar-thumb {
  background: #3f3f46 !important;
  border-radius: 4px !important;
}

.wp-block-table::-webkit-scrollbar-thumb:hover {
  background: #ff6900 !important;
}

/* --------------------------------------------------------------------------
   4. Comments Area & Form Elements
   -------------------------------------------------------------------------- */
main, main > *, main .wp-block-group, main .wp-block-template-part,
.wp-block-group.alignfull, .wp-block-group:has(.wp-block-comments),
.wp-block-group:has(#comments), .wp-block-group:has(#respond),
.wp-block-template-part:has(.wp-block-comments),
.wp-block-template-part:has(#comments),
.wp-block-template-part:has(#respond),
div:has(> .wp-block-comments), div:has(.wp-block-comments),
section:has(.wp-block-comments), div:has(#respond), section:has(#respond),
.has-base-background-color, .has-white-background-color,
.wp-block-comments, .wp-block-post-comments-form, .comments-area,
#comments, #respond, .comment-respond, .comment-form {
  background-color: #09090b !important;
  background: #09090b !important;
  color: #ffffff !important;
}

.wp-block-group:has(.wp-block-comments), .wp-block-comments, #comments {
  border-top: 1px solid #1f1f23 !important;
}

.comments-title, .comment-reply-title, .wp-block-comments-title {
  color: #ffffff !important;
  font-size: 1.4rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 12px !important;
}

.comment-notes, .logged-in-as, .comment-form label {
  color: #94a3b8 !important;
  font-size: 0.88rem !important;
  display: block !important;
  margin-bottom: 6px !important;
}

.comment-form textarea, .comment-form input[type="text"],
.comment-form input[type="email"], .comment-form input[type="url"],
#commentform textarea, #commentform input[type="text"],
#commentform input[type="email"], #commentform input[type="url"] {
  width: 100% !important;
  background-color: #18181b !important;
  background: #18181b !important;
  border: 1.5px solid #3f3f46 !important;
  border-radius: 8px !important;
  color: #ffffff !important;
  padding: 12px 14px !important;
  font-size: 0.95rem !important;
  box-sizing: border-box !important;
  outline: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.comment-form textarea:focus, .comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus, .comment-form input[type="url"]:focus {
  border-color: #ff6900 !important;
  box-shadow: 0 0 0 3px rgba(255, 105, 0, 0.2) !important;
}

.comment-form-cookies-consent {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #94a3b8 !important;
  font-size: 0.85rem !important;
  margin: 16px 0 !important;
}

.comment-form-cookies-consent input[type="checkbox"] {
  accent-color: #ff6900 !important;
  width: 16px !important;
  height: 16px !important;
}

.comment-form-cookies-consent label {
  margin-bottom: 0 !important;
  display: inline !important;
}

.comment-form input[type="submit"], #commentform input[type="submit"],
.form-submit input[type="submit"], .wp-block-button__link.wp-element-button {
  background-color: #ff6900 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 12px 24px !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
}

.comment-form input[type="submit"]:hover, #commentform input[type="submit"]:hover,
.form-submit input[type="submit"]:hover {
  background-color: #e05d00 !important;
}

.comment-list, .wp-block-comment-template {
  list-style: none !important;
  padding: 0 !important;
  margin: 32px 0 !important;
}

.comment-body, .wp-block-comment-template li {
  background-color: #18181b !important;
  border: 1px solid #27272a !important;
  border-radius: 10px !important;
  padding: 20px !important;
  margin-bottom: 16px !important;
  color: #d4d4d8 !important;
}

.comment-author .fn, .comment-author b {
  color: #ffffff !important;
  font-weight: 700 !important;
}

.comment-metadata a {
  color: #71717a !important;
  text-decoration: none !important;
  font-size: 0.8rem !important;
}

.comment-content p {
  color: #d4d4d8 !important;
  line-height: 1.6 !important;
}

.reply a {
  color: #ff6900 !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  text-decoration: none !important;
}

/* --------------------------------------------------------------------------
   5. WordPress Core Blog Queries & Taxonomy Metadata
   -------------------------------------------------------------------------- */
.wp-block-query, .wp-block-post-template, .wp-block-latest-posts {
  color: #ffffff !important;
}

.wp-block-post-terms, .wp-block-post-terms a, .taxonomy-category,
.taxonomy-category a, .wp-block-post-terms span {
  color: #ff6900 !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  text-decoration: none !important;
}

.wp-block-post-terms a:hover, .taxonomy-category a:hover {
  text-decoration: underline !important;
}

.wp-block-post-title, .wp-block-post-title a, .wp-block-latest-posts__post-title,
.wp-block-post-template h2 a, .wp-block-post-template h3 a,
.wp-block-post-template li a {
  color: #ffffff !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  text-decoration: none !important;
  transition: color 0.15s ease !important;
}

.wp-block-post-title a:hover, .wp-block-latest-posts__post-title:hover,
.wp-block-post-template h2 a:hover, .wp-block-post-template h3 a:hover,
.wp-block-post-template li a:hover {
  color: #ff6900 !important;
}

.wp-block-post-date, .wp-block-post-date time, .wp-block-latest-posts__post-date {
  color: #94a3b8 !important;
  font-size: 0.82rem !important;
  font-weight: 500 !important;
  margin-top: 6px !important;
}

.wp-block-post-excerpt, .wp-block-post-excerpt__excerpt {
  color: #94a3b8 !important;
  font-size: 0.88rem !important;
  line-height: 1.5 !important;
}

.wp-block-search:not(.sr-guide-search-form) {
  display: none !important;
}

h1.wp-block-query-title, .search h1, .search-results h1 {
  margin-bottom: 24px !important;
}

.sr-search-wrapper {
  margin-top: 28px !important;
}

.sr-view-more-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #18181b !important;
  color: #ffffff !important;
  border: 1px solid #3f3f46 !important;
  padding: 12px 28px !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  text-decoration: none !important;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.15s ease !important;
}

.sr-view-more-btn:hover {
  border-color: #ff6900 !important;
  color: #ff6900 !important;
  transform: translateY(-2px) !important;
}

/* --------------------------------------------------------------------------
   6. Dynamic eSIM Plan Finder Layout
   -------------------------------------------------------------------------- */
.esim-finder-container {
  max-width: 820px;
  margin: 32px auto;
  padding: 28px 24px;
  background: #18181b !important;
  border-radius: 14px;
  border: 1px solid #27272a !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  box-sizing: border-box;
  color: #ffffff !important;
}

.esim-finder-container * {
  box-sizing: border-box;
}

.finder-hero-header {
  text-align: center;
  margin-bottom: 24px;
}

.finder-badge {
  display: inline-block;
  background: rgba(255, 105, 0, 0.15);
  color: #ff6900;
  border: 1px solid rgba(255, 105, 0, 0.3);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.finder-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff !important;
  margin: 0 0 8px 0;
  letter-spacing: -0.01em;
}

.finder-subtitle {
  font-size: 0.9rem;
  color: #a1a1aa !important;
  margin: 0;
  line-height: 1.5;
}

.input-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 10px 14px;
  border: 1.5px solid #3f3f46 !important;
  border-radius: 10px;
  position: relative;
  background: #09090b !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-wrapper:focus-within {
  border-color: #ff6900 !important;
  box-shadow: 0 0 0 3px rgba(255, 105, 0, 0.2) !important;
}

.selected-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.country-tag {
  background: #ff6900;
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.country-tag span {
  cursor: pointer;
  font-weight: bold;
  line-height: 1;
  font-size: 1rem;
}

#country-search {
  border: none;
  outline: none;
  flex: 1;
  min-width: 180px;
  padding: 6px 4px;
  font-size: 0.95rem;
  color: #ffffff !important;
  background: transparent;
}

#country-search::placeholder {
  color: #71717a !important;
}

.quick-destinations {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.quick-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #71717a !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.quick-pill {
  background: #111113 !important;
  border: 1px solid #27272a !important;
  color: #d4d4d8 !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease !important;
}

.quick-pill:hover {
  border-color: #ff6900 !important;
  color: #ff6900 !important;
  background: rgba(255, 105, 0, 0.08) !important;
}

.country-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #18181b !important;
  border: 1px solid #3f3f46 !important;
  border-radius: 10px;
  max-height: 240px;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6) !important;
}

.dropdown-item {
  padding: 10px 14px;
  cursor: pointer;
  border-bottom: 1px solid #27272a !important;
  font-size: 0.95rem;
  color: #d4d4d8 !important;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background: rgba(255, 105, 0, 0.15) !important;
  color: #ff6900 !important;
}

.recommendation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.plan-card {
  border: 1px solid #27272a !important;
  border-radius: 12px;
  padding: 22px;
  background: #111113 !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.plan-card:hover {
  transform: translateY(-2px);
  border-color: #3f3f46 !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.plan-card.highlight {
  border-color: #ff6900 !important;
  background: #18181b !important;
  box-shadow: 0 8px 24px rgba(255, 105, 0, 0.15) !important;
}

.plan-badge {
  position: absolute;
  top: -12px;
  right: 18px;
  background: #ff6900;
  color: #ffffff;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.plan-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #ffffff !important;
}

.plan-carrier {
  font-size: 0.8rem;
  color: #a1a1aa !important;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.plan-price {
  font-size: 1.55rem;
  font-weight: 800;
  color: #ff6900;
  margin-bottom: 12px;
}

.plan-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  font-size: 0.9rem;
  color: #a1a1aa !important;
  line-height: 1.6;
}

.plan-specs li {
  margin-bottom: 5px;
}

.plan-specs strong {
  color: #ffffff !important;
}

.plan-cta {
  display: block;
  background: #ff6900;
  color: #ffffff !important;
  text-align: center;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  margin-bottom: 6px;
  transition: background-color 0.15s ease;
}

.plan-cta:hover {
  background: #e05d00;
}

.plan-micro-copy {
  display: block !important;
  font-size: 0.75rem !important;
  color: #71717a !important;
  text-align: center !important;
  margin: 8px 0 10px 0 !important;
  line-height: 1.35 !important;
}

.share-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin-top: 4px;
}

.share-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #3f3f46 !important;
  background: #18181b !important;
  color: #a1a1aa !important;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.share-icon-btn:hover {
  transform: translateY(-2px);
}

.share-icon-btn.whatsapp:hover {
  background: #25d366 !important;
  border-color: #25d366 !important;
  color: #ffffff !important;
}

.share-icon-btn.email:hover {
  background: #0284c7 !important;
  border-color: #0284c7 !important;
  color: #ffffff !important;
}

.share-icon-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.finder-pricing-footer {
  margin-top: 22px;
  padding: 14px 20px;
  background: #111113 !important;
  border: 1px solid #27272a !important;
  border-radius: 8px;
  text-align: center;
  font-size: 0.95rem;
  color: #a1a1aa !important;
}

.finder-pricing-footer a {
  color: #ff6900 !important;
  font-weight: 700;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   7. WhatsApp Floating Trigger Button & QR Modal
   -------------------------------------------------------------------------- */
.sr-wa-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0,0,0,0.35);
  cursor: pointer;
  z-index: 99999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.sr-wa-float-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
}

.sr-wa-float-btn svg {
  width: 34px;
  height: 34px;
  fill: #ffffff;
}

.sr-wa-modal {
  display: none;
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 290px;
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  z-index: 99999;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  box-sizing: border-box;
}

.sr-wa-modal.is-active {
  display: block;
  animation: srFadeUp 0.25s ease;
}

@keyframes srFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.sr-wa-modal h4 {
  margin: 0 0 6px 0;
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.sr-wa-modal p {
  margin: 0 0 14px 0;
  font-size: 13px;
  color: #a1a1aa;
  line-height: 1.4;
}

.sr-wa-qr-plate {
  width: 178px;
  height: 178px;
  margin: 0 auto 14px auto;
  background: #ffffff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  box-sizing: border-box;
}

.sr-wa-qr {
  width: 170px;
  height: 170px;
  display: block;
  border-radius: 6px;
}

.sr-wa-web-btn {
  display: inline-block;
  background: #25D366;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 8px;
  width: 100%;
  box-sizing: border-box;
  transition: background 0.2s ease;
}

.sr-wa-web-btn:hover {
  background: #20ba59;
}

.sr-wa-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 18px;
  color: #71717a;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.sr-wa-close:hover {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   8. Hardware eSIM Compatibility Checker Layout
   -------------------------------------------------------------------------- */
.sr-compat-wrapper {
  max-width: 820px;
  margin: 32px auto;
  background: #18181b !important;
  border: 1px solid #27272a !important;
  border-radius: 14px;
  padding: 28px 24px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  box-sizing: border-box;
  color: #ffffff !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

.sr-compat-wrapper * {
  box-sizing: border-box;
}

.sr-compat-header {
  text-align: center;
  margin-bottom: 24px;
}

.sr-compat-badge {
  display: inline-block;
  background: rgba(255, 105, 0, 0.15);
  color: #ff6900;
  border: 1px solid rgba(255, 105, 0, 0.3);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}

.sr-compat-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff !important;
  margin: 0 0 8px 0;
  letter-spacing: -0.01em;
}

.sr-compat-subtitle {
  font-size: 0.9rem;
  color: #a1a1aa !important;
  margin: 0;
  line-height: 1.5;
}

.sr-compat-controls {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

.sr-compat-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #d4d4d8 !important;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.sr-compat-select, .sr-compat-input {
  width: 100% !important;
  background: #09090b !important;
  border: 1.5px solid #3f3f46 !important;
  border-radius: 8px !important;
  padding: 12px 14px !important;
  font-size: 0.95rem !important;
  color: #ffffff !important;
  outline: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.sr-compat-select:focus, .sr-compat-input:focus {
  border-color: #ff6900 !important;
  box-shadow: 0 0 0 3px rgba(255, 105, 0, 0.2) !important;
}

.sr-compat-result {
  display: none;
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 24px;
  animation: srFadeIn 0.25s ease;
}

@keyframes srFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.sr-compat-result.supported {
  background: rgba(22, 163, 74, 0.12);
  border: 1px solid #16a34a;
}

.sr-compat-result.unsupported {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid #ef4444;
}

.sr-compat-result.conditional {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid #f59e0b;
}

.sr-compat-status-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}

.sr-compat-result.supported .sr-compat-status-tag { color: #4ade80; }
.sr-compat-result.unsupported .sr-compat-status-tag { color: #f87171; }
.sr-compat-result.conditional .sr-compat-status-tag { color: #fbbf24; }

.sr-compat-device-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff !important;
  margin: 0 0 6px 0;
}

.sr-compat-notes {
  font-size: 0.88rem;
  color: #d4d4d8 !important;
  line-height: 1.5;
  margin: 0;
}

.sr-compat-manual-check {
  background: #111113;
  border: 1px solid #27272a;
  border-radius: 10px;
  padding: 18px 20px;
}

.sr-compat-manual-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff !important;
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sr-compat-manual-body {
  font-size: 0.85rem;
  color: #a1a1aa !important;
  line-height: 1.6;
  margin: 0;
}

.sr-compat-manual-body code {
  background: rgba(255, 105, 0, 0.15) !important;
  color: #ff6900 !important;
  border: 1px solid rgba(255, 105, 0, 0.3) !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
}

.sr-compat-action {
  margin-top: 14px;
  text-align: center;
}

.sr-compat-action a {
  display: inline-block;
  background: #ff6900;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  transition: background 0.15s ease;
}

.sr-compat-action a:hover {
  background: #e05d00;
}

/* --------------------------------------------------------------------------
   9. Mobile Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 600px) {
  .esim-finder-container {
    padding: 20px 16px;
  }
  .recommendation-grid {
    grid-template-columns: 1fr;
  }
  .sr-compat-controls {
    grid-template-columns: 1fr;
  }
  .sr-compat-wrapper {
    padding: 20px 16px;
  }
}
