@import url(./utils/helper.css);

body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #fff;
  min-height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
}

header {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

header .image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 70%;
  height: auto;
  max-width: 250px;
}

header img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

main {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

main section {
  display: none;
}

main[data-type="login"] section.login {
  display: flex;
}

main[data-type="details"] section.details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5em;
}

section:is(.details, .login) .container {
  max-width: 600px;
}

.card {
  display: flex;
  background: rgba(78, 148, 89, 0.08);
  border-radius: 55px;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  width: 100%;
  gap: 1.5em;
  padding: 4em 3em;
  min-height: 50vh;
}

.card input,
.card textarea,
.card select {
  width: calc(70% - 1.5em);
}

.logo {
  width: 70%;
  height: auto;
  margin-bottom: 1em;
  max-width: 250px;
}

.logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Box for content inside card */
.container h1 {
  font-size: 2.5em;
  color: #AEAEAE;
  font-weight: 400;
  font-family: Poppins;
  line-height: 167%;
  margin-bottom: 0.5em;
}

/* input {
  display: block;
  margin: 2em auto;
  padding: 0.9em;
  border-radius: 8px;
  border: 1px solid #ccc;
  width: 100%;
  font-size: 1em;
}
select{
  display: block;
  margin: 2em auto;
  padding: 0.9em;
  border-radius: 8px;
  border: 1px solid #ccc;
  width: 109%;
  font-size: 1em;
} */

.google-button,
.continue-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8em;
  background: white;
  color: #979797;
  font-size: 1.4em;
  line-height: 131%;
  border-radius: 8px;
  font-family: Roboto;
  padding: 0.8em 2em;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  box-shadow: inset 0 0 0 1px #C7C7C7;
}

.google-button:not(:disabled):hover {
  box-shadow: inset 0 0 0 1px #C7C7C7, 0px 1px 4px 0px rgba(0, 0, 0, 0.25);
}

.continue-btn {
  font-size: 1.3125em;
  margin-top: 1em;
}

.google-button:disabled {
  background: #1010102e;
  color: #7b7b7b;
  cursor: not-allowed;
}

.continue-btn {
  padding: 0.6em 1.6em;
  background: #4E9459E5;
  color: white;
}

#company-code-input:not(:placeholder-shown) {
  letter-spacing: 25px;
  text-align: center;
}

/* Final screen */
.status-card {
  background: #f1f8f4;
  padding: 1.5em;
  border-radius: 15px;
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.center-btn {
  margin: 1.2em 0;
}

.work-time {
  font-size: 1.1em;
  color: #333;
}

.hidden {
  display: none;
}
/* .card1 {
  display: flex;
  background: #f1f8f4;
  padding: 6% 1% 8% 1%;
  border-radius: 55px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  width: 50%;
  justify-content: center;
  text-align: center;
  width: 100%;
} */
/* .continue-btn{
  padding: 0.9em 1em;
  border: none;
  border-radius: 8px;
  font-size: 1em;
  cursor: pointer;
  background-color: #4E9459;
  color: #ffffff;
  width: 50%;
} */
.company-logo {
  width:60%;
  justify-self: center;
}

.company-logo img{
  width: 100%;
}


.department-select {
  position: relative;
  width: 70%;
  display: flex;
}

.department-select .icon {
  position: absolute;
  right: 1em;
  top: 50%;
  transform: translate(0, -50%);
  display: inline-flex;
}