/* ============================================
   CRETE TRANSFERS PAGE - PIXEL PERFECT CSS
   Based on Figma Design (1440px Desktop)
   ============================================ */

/* CSS Variables / Design Tokens */
:root {
  /* Colors */
  --color-primary-blue: #70b0e9;
  --color-primary-teal: #67bfbf;
  --color-text-dark: #4e5e68;
  --color-text-black: #000000;
  --color-text-white: #ffffff;
  --color-text-gray: #d1d5dc;
  --color-footer-bg: #101828;
  --color-footer-secondary: #1e2939;
  --color-divider: #364153;
  
  /* Typography */
  --font-heading: 'Lora', serif;
  --font-body: 'Montserrat', sans-serif;
  --font-sf-display: 'SF Compact Display', 'Montserrat', sans-serif;
  --font-sf-text: 'SF Compact Text', 'Montserrat', sans-serif;
  
  /* Spacing */
  --max-width: 1440px;
  --container-padding: 16px;
  
  /* Shadows */
  --shadow-search: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  --shadow-mockup: 4px -5px 4px 0px rgba(0, 0, 0, 0.13);
  
  /* Border Radius */
  --radius-pill: 50px;
  --radius-button: 30px;
  --radius-banner: 20px;
  --radius-store: 6px;
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-dark);
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
  object-fit: contain;
}

.transfers-page {
  width: 100%;
  overflow-x: hidden;
  position: relative;
  margin: 0 auto;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  z-index: 1;
}

.hero-bg {
  position: absolute;
  top: -32px;
  width: calc(100% + 70px);
  height: calc(100% + 64px);
  object-fit: cover;
  opacity: 0.66;
  z-index: 2;
}

.hero-overlay {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 0;
  margin-top: -130px;
}

.hero-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 50px;
  line-height: 60px;
  color: var(--color-text-white);
  max-width: 638px;
  margin-bottom: 70px;
  text-align: center;
}

/* ============================================
   SEARCH BAR - DESKTOP
   ============================================ */
.search-bar--desktop {
  display: flex;
  align-items: center;
  background-color: var(--color-text-white);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-search);
  width: 679px;
  height: 68px;
  padding: 0 8px 0 32px;
  margin-bottom: 30px;
}

.search-bar--mobile {
  display: none;
}

.search-bar__field {
  display: flex;
  flex-direction: column;
  padding: 0 24px;
}

.search-bar__label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  color: var(--color-primary-teal);
  letter-spacing: 2.16px;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.search-bar__input {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  color: var(--color-text-black);
  background: transparent;
  border: none;
  outline: none;
  width: 100%;
  padding: 0;
}

.search-bar__input::placeholder {
  color: var(--color-text-black);
  opacity: 1;
}

.search-bar__input:focus::placeholder {
  color: #999;
}

.search-bar__input[type="date"] {
  cursor: pointer;
}

.search-bar__input[type="number"]::-webkit-inner-spin-button,
.search-bar__input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.search-bar__input[type="number"] {
  -moz-appearance: textfield;
}

.search-bar__divider {
  width: 1px;
  height: 42px;
  background-color: #e1e1e1;
}

.search-bar__btn {
  margin-left: auto;
  background-color: var(--color-primary-blue);
  color: var(--color-text-white);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.25px;
  text-transform: uppercase;
  padding: 10px 24px;
  border-radius: 30px;
  border: none;
  height: 37px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.search-bar__btn:hover {
  background-color: #5a9dd6;
}

.search-bar__btn:focus {
  outline: 2px solid var(--color-text-white);
  outline-offset: 2px;
}

/* ============================================
   QUICK SEARCH
   ============================================ */
.quick-search {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
}

.quick-search-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 20px;
  line-height: 64px;
  color: var(--color-text-white);
  text-transform: capitalize;
  margin-bottom: 10px;
}

.transfer-buttons {
  display: flex;
  gap: 20px;
}

.transfer-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 255px;
  height: auto;
  background-color: var(--color-primary-blue);
  border-radius: var(--radius-button);
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor:pointer;
}

/* .transfer-btn:hover {
  background-color: #5a9dd8;
  transform: translateY(-2px);
} */

.transfer-icon {
  width: 27px;
  height: 27px;
  object-fit: contain;
}

.transfer-btn span {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--color-text-white);
  text-transform: uppercase;
  letter-spacing: -0.25px;
  line-height: 64px;
}

/* ============================================
   CONTENT SECTION
   ============================================ */
.content-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 63px 175px 71px 175px;
  text-align: center;
}

.content-section .section-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 40px;
  line-height: 64px;
  color: var(--color-text-dark);
  text-transform: capitalize;
  margin-bottom: 28px;
}

.content-text {
  max-width: 1089px;
  margin: 0 auto;
}

.content-text p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: var(--color-text-black);
  text-align: center;
  margin-bottom: 22px;
}

.content-text p:last-child {
  margin-bottom: 0;
}

/* ============================================
   APP BANNER SECTION
   ============================================ */
.app-banner {
  position: relative;
  margin-top: 50px;
  padding-bottom: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.app-banner-container {
  width: 929px;
  max-width: 95%;
  height: 540px;
  background-color: var(--color-primary-teal);
  border-radius: var(--radius-banner);
  position: relative;
  display: flex;
  align-items: center;
  overflow: visible;
}

.app-content {
  padding-left: 84px;
  padding-right: 340px;
  width: 100%;
  color: var(--color-text-white);
}

.app-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--color-text-white);
}

.app-desc {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 28px;
  margin-bottom: 40px;
  color: var(--color-text-white);
}

.app-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.app-feature {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.app-feature-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.app-feature-text h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 5px;
  color: var(--color-text-white);
}

.app-feature-text p {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  line-height: 20px;
  color: var(--color-text-white);
  margin: 0;
}

.app-buttons-banner {
  display: flex;
  gap: 15px;
  align-items: center;
}

.store-btn {
  display: flex;
  align-items: center;
  background-color: var(--color-text-black);
  border: 1px solid #a6a6a6;
  border-radius: 6px;
  width: 160px;
  height: 50px;
  padding: 5px 12px;
  text-decoration: none;
  color: var(--color-text-white);
  box-sizing: border-box;
  justify-content: center;
  gap: 10px;
  transition: opacity 0.2s ease;
}

.store-btn:hover {
  opacity: 0.9;
}

.store-btn:focus {
  outline: 2px solid var(--color-text-white);
  outline-offset: 2px;
}

.store-btn img {
  height: 30px;
  width: 30px;
  max-width: 100%;
  object-fit: contain;
}

.store-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.store-text .small-text {
  font-family: var(--font-body);
  font-size: 9px;
  line-height: 9px;
  text-transform: uppercase;
  color: var(--color-text-white);
}

.store-text .large-text {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 16px;
  color: var(--color-text-white);
}

.app-mockup {
  position:absolute;
  right: -110px;
  top: 0;
  bottom: 0px;
  width: 571px;
  filter: drop-shadow(4px -5px 4px rgba(0, 0, 0, 0.13));
}

.app-mockup img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

/* Large Tablets / Small Laptops */
@media (max-width: 1024px) {
  .hero {
    height: auto;
    min-height: 750px;
  }

  .hero-content {
    margin-top: -80px;
    padding: 0 20px;
  }

  .hero-title {
    font-size: 42px;
    line-height: 52px;
    max-width: 550px;
  }

  .search-bar--desktop {
    width: 90%;
    max-width: 650px;
    padding: 0 8px 0 24px;
  }

  .search-bar__field {
    padding: 0 16px;
    flex: 1;
  }

  .content-section {
    padding: 50px 60px;
  }

  .app-banner-container {
    width: 91%;
    max-width: 884px;
    height: 480px;
  }

  .app-content {
    padding-left: 50px;
    padding-right: 290px;
  }

  .app-mockup {
    width: 571px;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 950px;
    padding: 100px 20px 80px 20px;
  }

  .hero-content {
    margin-top: 0;
    padding-top: 50px;
    width: 100%;
    max-width: 400px;
  }

  .hero-title {
    font-size: 36px;
    line-height: 48px;
    max-width: 100%;
    margin-bottom: 40px;
  }

  /* Hide desktop search bar, show mobile */
  .search-bar--desktop {
    display: none;
  }

  .search-bar--mobile {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 360px;
    margin-bottom: 20px;
  }

  .search-bar__field-mobile {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: var(--color-text-white);
    border-radius: var(--radius-pill);
    padding: 12px 23px;
    box-shadow: var(--shadow-search);
  }

  .search-bar__field-mobile .search-bar__input {
    width: 100%;
  }

  .search-bar__btn--mobile {
    width: 100%;
    height: 60px;
    font-size: 18px;
    border-radius: 30px;
    margin-top: 8px;
    margin-left: 0;
  }

  .quick-search {
    margin-top: 30px;
    width: 100%;
  }

  .quick-search-title {
    margin-bottom: 15px;
    line-height: normal;
  }

  .transfer-buttons {
    flex-direction: column;
    gap: 13px;
    width: 100%;
    align-items: center;
  }

  .transfer-btn {
    width: 100%;
    max-width: 250px;
    height: 45px;
  }

  .transfer-btn span {
    line-height: normal;
  }

  .content-section {
    padding: 40px 20px;
  }

  .content-section .section-title {
    font-size: 32px;
    line-height: 48px;
  }

  .content-text {
    max-width: 100%;
  }

  .content-text p {
    line-height: 22px;
    font-size: 14px;
  }

  /* App Banner - Tablet */
  .app-banner {
    margin-top: 30px;
    padding-bottom: 60px;
  }

  .app-banner-container {
    flex-direction: column;
    height: auto;
    width: 95%;
    padding: 40px 30px 0 30px;
    text-align: center;
    overflow: hidden;
  }

  .app-content {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .app-title {
    font-size: 24px;
  }

  .app-desc {
    font-size: 14px;
    margin-bottom: 30px;
  }

  .app-features {
    align-items: center;
  }

  .app-feature {
    max-width: 400px;
    text-align: left;
  }

  .app-buttons-banner {
    justify-content: center;
  }

  .app-mockup {
    position: relative;
    right: auto;
    transform: none;
    bottom: -40px;
    width: 100%;
    height: auto;
    margin: 30px auto 0 auto;
    align-self: flex-end;
  }

  .app-mockup img {
    vertical-align: bottom;
    display: block;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .hero {
    min-height: 900px;
    padding: 80px 16px 60px 16px;
  }

  .hero-content {
    max-width: 100%;
    padding-top: 60px;
  }

  .hero-title {
    font-size: 30px;
    line-height: 40px;
    margin-bottom: 35px;
  }

  .search-field {
    height: 64px;
    padding: 14px 20px;
  }

  .field-label {
    font-size: 11px;
    letter-spacing: 1.8px;
  }

  .field-input {
    font-size: 15px;
  }

  .search-button {
    height: 55px;
    font-size: 16px;
    line-height: 55px;
  }

  .transfer-btn {
    max-width: 100%;
    height: 60px;
  }

  .transfer-icon {
    width: 24px;
    height: 24px;
  }

  .transfer-btn span {
    font-size: 13px;
  }

  .content-section {
    padding: 35px 16px;
  }

  .content-section .section-title {
    font-size: 28px;
    line-height: 40px;
    margin-bottom: 20px;
  }

  .content-text p {
    font-size: 13px;
    line-height: 21px;
  }

  .app-banner {
    padding: 0 16px 52px 16px;
  }

  .app-banner-container {
    padding: 28px 22px 40px 22px;
    border-radius: 16px;
  }

  .app-title {
    font-size: 22px;
    line-height: 30px;
  }

  .app-desc {
    font-size: 14px;
    line-height: 23px;
    margin-bottom: 20px;
  }

  .app-features {
    gap: 14px;
    margin-bottom: 20px;
  }

  .app-feature {
    gap: 10px;
  }

  .app-feature-icon {
    width: 20px;
    height: 20px;
  }

  .app-feature-text h3 {
    font-size: 14px;
    line-height: 22px;
  }

  .app-feature-text p {
    font-size: 11px;
    line-height: 18px;
  }

  .store-btn {
    width: 115px;
    height: 38px;
    padding: 4px 8px;
  }

  .store-btn img {
    width: 18px;
    height: 22px;
    margin-right: 7px;
  }

  .store-text .small-text {
    font-size: 8px;
    line-height: 10px;
  }

  .store-text .large-text {
    font-size: 12px;
    line-height: 14px;
  }

  .app-mockup {
    width: 100%;
  }
}

/* Small Mobile */
@media (max-width: 375px) {
  .hero {
    padding: 70px 12px 50px 12px;
  }

  .hero-title {
    font-size: 26px;
    line-height: 36px;
  }

  .search-field {
    height: 60px;
    padding: 12px 16px;
  }

  .search-button {
    height: 50px;
    font-size: 15px;
    line-height: 50px;
  }

  .content-section .section-title {
    font-size: 24px;
    line-height: 36px;
  }

  .app-banner-container {
    padding: 24px 18px 35px 18px;
  }

  .app-title {
    font-size: 20px;
    line-height: 28px;
  }

  .app-desc {
    font-size: 13px;
    line-height: 21px;
  }

  .store-btn {
    width: 105px;
    height: 36px;
  }

  .store-text .large-text {
    font-size: 11px;
  }

  .app-mockup {
    width: 100%;
  }

  
}

/* select */
.sr-native-select {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: normal;
  color: var(--color-text-black);
  border: none;
  background-color: transparent;
  outline: none;
  width: 100%;
  padding: 0;
  cursor: pointer;
  
  /* Removes default browser dropdown styles */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  
  /* Adds a custom, minimal dropdown arrow 
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23666666%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E"); */
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 0.65em auto;
 /* padding-right: 20px;  Prevents text from overlapping the arrow */
}
/* Ensure the dropdown list has a background color when opened */
.sr-native-select option {
  background-color: var(--color-white);
  color: var(--color-text-black);
  padding: 8px;
}

/* Remove the outline that Firefox adds on focus */
.sr-native-select:focus {
  outline: none;
}


.select2-container--default .select2-selection--single {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: normal;
  color: var(--color-text-black);
  border: none;
  background-color: white;
  outline: none;
  width: 100%;
  padding: 0;
  cursor: pointer;

  /* remove default border/rounded bg that Select2 adds */
  box-shadow: none;
  border-radius: 0;

  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2370b0e9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
   background-repeat: no-repeat;
  background-position: right center;
  background-size: 0.65em auto;
}

/* Text inside */
.select2-container--default .select2-selection--single .select2-selection__rendered {
  padding-left: 0;
  padding-right: 0;
}

/* Remove default arrow so it looks like your native one */
.select2-container--default .select2-selection--single .select2-selection__arrow {
  display: none;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 0.65em auto;
  /* padding-right: 20px; */ /* if you re‑enable arrow */
  /* background-image: url("data:image/svg+xml;..."); */
}

/* Dropdown panel */
.select2-container--default .select2-dropdown {
  background-color: white;
  border: none;
}

/* NEW: Override focus states - keep border, kill color changes */
.select2-container--default.select2-container--focus .select2-selection--single {
  outline: none !important;
  box-shadow: none !important;
  border-color: inherit !important;  /* Keeps your original border */
  background-color: white !important;  /* Locks background */
}

/* Search input inside dropdown */
.select2-container--default .select2-search--dropdown .select2-search__field:focus {
  outline: none !important;
  box-shadow: none !important;
  border-color: #ddd !important;  /* Your choice of static border */
}