/* Custom styles here */

body {
  font-family: 'Inter var experimental', 'Inter var', -apple-system,
    BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell,
    'Helvetica Neue', sans-serif;
  background-color: #e5e5e5 !important;
  background: #e5e5e5 !important;
  background-image: none !important;
  min-height: 100vh;
  position: relative;
}

/* Ensure no background images are applied */
body::before,
body::after {
  display: none !important;
}

#card-container {
  padding: 20px;
}

.card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
}

.form-control:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

/* Ensure phone number field matches other input field sizes */
#phone-number {
  padding: 8px 12px !important;
  font-size: 0.9rem !important;
  height: 40px !important;
  line-height: 1.5 !important;
  display: block !important;
}

/* Ensure input-group doesn't override field sizes */
#cta-button {
  display: block !important;
}

#cta-button .input-group {
  display: flex !important;
}

#cta-button .input-group .form-control {
  padding: 8px 12px !important;
  font-size: 0.9rem !important;
  height: 40px !important;
  line-height: 1.5 !important;
  display: block !important;
}

#cta-button .input-group .btn {
  padding: 8px 20px !important;
  font-size: 0.9rem !important;
  height: 40px !important;
  display: block !important;
}

/* Ensure signup form is always visible */
#signup-form {
  display: block !important;
}

/* Force form and phone field visible on all screen sizes (mobile + desktop) */
@media (max-width: 767px) {
  #signup-form,
  #cta-button,
  #cta-button .input-group,
  #cta-button .input-group .form-control,
  #cta-button .input-group .btn,
  #phone-number {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  #cta-button .input-group {
    display: flex !important;
  }
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0a58ca 0%, #084298 100%) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.4) !important;
}

.btn-primary:active {
  transform: translateY(0);
}

footer {
  margin-top: 2rem;
  padding: 1.5rem 0;
}

footer a {
  color: #6c757d;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

footer a:hover {
  color: #0d6efd;
  text-decoration: underline;
}

#settings {
  color: #fff;
  background: rgb(6, 3, 58);
  height: 100vh;
  overflow-y: scroll;
}

#settings-scroll {
  margin-bottom: 20px;
}

.code-panel {
  background-color: #233659;
  color: #bddcdc;
}

.code-panel-container {
  padding: 10px;
  border-radius: 3px;
}

.tab-content {
  color: #000;
}

code {
  color: #bddcdc;
}

.message-frequency-option.nav-link {
  background: #efefef;
}

/* Loading Animation */
.lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
  margin-top: 45vh;
}
.lds-ellipsis div {
  position: absolute;
  top: 33px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #bbb;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
  left: 32px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
  left: 56px;
  animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(24px, 0);
  }
}
