.home-screen {
  min-height: 100vh;
  padding: 18px 12px;
  box-sizing: border-box;
  background: #26c4e8;
  background-image: linear-gradient(112deg, rgba(255, 255, 255, 0.12) 0 18%, transparent 18% 37%, rgba(0, 145, 211, 0.12) 37% 55%, transparent 55% 78%, rgba(255, 255, 255, 0.1) 78%);
  font-family: Arial, sans-serif;
}

.home-card {
  width: min(100%, 430px);
  margin: 0 auto;
  color: #ffffff;
}

.home-brand {
  margin-bottom: 6px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
}

.home-card h1 {
  max-width: 360px;
  margin: 0 0 38px;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 500;
}

.o2o-form .form-group {
  display: flex;
  gap: 8px;
  align-items: center;
}

.o2o-form label {
  display: block;
  margin: 0 0 7px 8px;
  font-size: 10px;
  color: #6d7890;
}

.o2o-form {
  padding: 10px 10px 0;
  border-radius: 8px;
  background: #ffffff;
}

.o2o-form input[type="tel"] {
  min-width: 0;
  flex: 1;
  padding: 10px 8px;
  border: 0;
  outline: 0;
  color: #001a41;
  background: transparent;
  font-size: 12px;
}

.o2o-form input[type="tel"]::placeholder {
  color: #9aa4b5;
}

.o2o-form button {
  width: 46px;
  height: 27px;
  border: none;
  border-radius: 18px;
  background: #16aee5;
  color: #ffffff;
  font-size: 0;
  cursor: pointer;
}

.o2o-form button::after {
  content: "›";
  font-size: 22px;
  line-height: 1;
}

.info-active {
  margin: 0 -10px;
  padding: 8px;
  border-radius: 0 0 8px 8px;
  color: #23314b;
  background: #ffffff;
  font-size: 9px;
}

.custom-msisdn-error {
  margin: 8px -2px 0;
  padding: 8px;
  color: #8b0000;
  background: #fff0f0;
  border: 1px solid #f3b8b8;
  border-radius: 4px;
  font-size: 11px;
  line-height: 1.4;
}

.home-check-link {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  padding: 11px 12px;
  border-radius: 0 0 10px 10px;
  color: #ffffff;
  background: #092842;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
}

.home-check-icon {
  color: #13b9ee;
  font-size: 15px;
}

.home-check-arrow {
  margin-left: auto;
  font-size: 25px;
  line-height: 12px;
}

.form-error {
  max-width: 1100px;
  margin: 24px auto;
  padding: 14px 15px;
  color: #8b0000;
  background: #fff0f0;
  border: 1px solid #f3b8b8;
  border-radius: 4px;
  font-family: Arial, sans-serif;
}

.custom-loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  background: #ffffff;
  color: #001a41;
  font: 700 16px Arial, sans-serif;
}

.custom-loading-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.custom-loading-spinner {
  width: 22px;
  height: 22px;
  border: 3px solid #d9e2f0;
  border-top-color: #ec0b2b;
  border-radius: 50%;
  animation: custom-loading-spin 0.8s linear infinite;
}

@keyframes custom-loading-spin {
  to { transform: rotate(360deg); }
}

body .popup-wrapper:not(.popup-wrapper-active) {
  display: none !important;
}

body .popup-wrapper.popup-wrapper-active {
  top: 0 !important;
  bottom: 0 !important;
  height: 100vh !important;
  max-height: 100vh !important;
  align-items: flex-start !important;
  overflow-y: auto !important;
}

body .popup-wrapper.popup-wrapper-active .package-floating-container {
  top: 0 !important;
  bottom: auto !important;
  max-height: calc(100vh - 8px) !important;
  overflow-y: auto !important;
}

.custom-home-button {
  position: relative;
  display: block;
  width: fit-content;
  margin: 8px 12px 0 auto;
  padding: 10px 18px;
  border-radius: 4px;
  background: #ec0b2b;
  color: #ffffff;
  font: 700 14px Arial, sans-serif;
  text-decoration: none;
}

.custom-home-button:hover {
  background: #b8051d;
}

@media (max-width: 600px) {
  .o2o-form .form-group { align-items: stretch; flex-direction: column; }
  .o2o-form input[type="text"], .o2o-form input[type="tel"] { width: auto; }
}
