@tailwind base;
@tailwind components;
@tailwind utilities;

html,
body {
  height: 100%;
  margin: 0;
  @apply bg-primary text-appBlack;
  font-family: "Montserrat", sans-serif;
}

main {
  @apply bg-primary;
  background: url(/assets/bg-0c33c089fbdbcc85eef7f9982b47347fda78784515d34001bcff7f7a965e6fa7.png) no-repeat center center;
  background-size: cover;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
  /* Older iOS (Safari/WebView) fallback */
  padding-top: calc(constant(safe-area-inset-top) + 20px);
  padding-right: calc(constant(safe-area-inset-right) + 20px);
  padding-bottom: calc(constant(safe-area-inset-bottom) + 20px);
  padding-left: calc(constant(safe-area-inset-left) + 20px);
  padding-top: calc(env(safe-area-inset-top) + 20px);
  padding-right: calc(env(safe-area-inset-right) + 20px);
  padding-bottom: calc(env(safe-area-inset-bottom) + 20px);
  padding-left: calc(env(safe-area-inset-left) + 20px);
  box-sizing: border-box;
  overflow-y: auto;
}

/* Set max-width for desktop view */
@media (min-width: 768px) {
  main {
    max-width: 640px; /* Adjust this value as needed */
    margin: 0 auto;
  }
}

/* Ensure children elements in main are full width on mobile */
main > * {
  width: 100%;
}

/* Style for mobile and responsive design */
@media (max-width: 767px) {
  main {
    padding: 16px;
  }
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
textarea {
  @apply w-full rounded-lg border border-appGray px-3 py-4 text-base font-semibold;
  color: #252525;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
textarea:focus {
  @apply border-primary outline-none ring-2 ring-primary;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="password"]::placeholder,
input[type="number"]::placeholder,
input[type="tel"]::placeholder,
textarea::placeholder {
  color: #a5a5a5;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

label {
  @apply text-white text-base mb-2 block;
}

.primary-button {
  @apply w-full bg-white text-primary text-lg font-semibold py-3 rounded-xl shadow-md;
}

select {
  @apply w-full rounded-lg border border-appGray px-3 py-4 text-sm font-semibold;
  color: #252525;
  font-size: 14px !important;
}

.file-select {
  @apply flex flex-row items-center justify-between cursor-pointer px-3 py-5 text-white rounded-lg;
  border: 2px rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.25);
}

/* Loader Styles */
.loader {
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top: 4px solid white;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

/* Centering the Loader */
#form-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 50;
  visibility: hidden; /* Start with visibility hidden */
}

/* Ensuring Responsiveness on Mobile */
@media (max-width: 768px) {
  #form-loader .loader {
    width: 30px;
    height: 30px;
    border-width: 3px;
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

body.loader-active {
  overflow: hidden;
}
/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */
/**
 * Minified by jsDelivr using clean-css v5.3.0.
 * Original file: /npm/toastify-js@1.12.0/src/toastify.css
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
/*!
 * Toastify js 1.12.0
 * https://github.com/apvarun/toastify-js
 * @license MIT licensed
 *
 * Copyright (C) 2018 Varun A P
 */
/* line 14, vendor/assets/stylesheets/toastify.min.css */
.toastify {
  padding: 12px 20px;
  color: #fff;
  display: inline-block;
  box-shadow: 0 3px 6px -1px rgba(0, 0, 0, 0.12), 0 10px 36px -4px rgba(77, 96, 232, 0.3);
  background: -webkit-linear-gradient(315deg, #73a5ff, #5477f5);
  background: linear-gradient(135deg, #73a5ff, #5477f5);
  position: fixed;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  max-width: calc(50% - 20px);
  z-index: 2147483647;
}

/* line 14, vendor/assets/stylesheets/toastify.min.css */
.toastify.on {
  opacity: 1;
}

/* line 14, vendor/assets/stylesheets/toastify.min.css */
.toast-close {
  background: 0 0;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 1em;
  opacity: .4;
  padding: 0 5px;
}

/* line 14, vendor/assets/stylesheets/toastify.min.css */
.toastify-right {
  right: 15px;
}

/* line 14, vendor/assets/stylesheets/toastify.min.css */
.toastify-left {
  left: 15px;
}

/* line 14, vendor/assets/stylesheets/toastify.min.css */
.toastify-top {
  top: -150px;
}

/* line 14, vendor/assets/stylesheets/toastify.min.css */
.toastify-bottom {
  bottom: -150px;
}

/* line 14, vendor/assets/stylesheets/toastify.min.css */
.toastify-rounded {
  border-radius: 25px;
}

/* line 14, vendor/assets/stylesheets/toastify.min.css */
.toastify-avatar {
  width: 1.5em;
  height: 1.5em;
  margin: -7px 5px;
  border-radius: 2px;
}

/* line 14, vendor/assets/stylesheets/toastify.min.css */
.toastify-center {
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  max-width: fit-content;
  max-width: -moz-fit-content;
}

@media only screen and (max-width: 360px) {
  /* line 14, vendor/assets/stylesheets/toastify.min.css */
  .toastify-left, .toastify-right {
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    max-width: fit-content;
  }
}

/*# sourceMappingURL=/sm/cb4335d1b03e933ed85cb59fffa60cf51f07567ed09831438c60f59afd166464.map */
