/* ==========================
   Root Variables
   ========================== */
:root {
  --light: #8e99e3;
  --mid-light: #5460AE;
  --mid: #434D8C;
  --mid-dark: #333A6A;
  --dark: #232848;
  --grey-white: #e3e3e3;
  --font-size: 1.2rem;
}

/* ==========================
   Reset & Base Styles
   ========================== */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: var(--grey-white);
  background-image: url('../assets/img/bg.png');
}

/* ==========================
   Layout Containers
   ========================== */
main {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.centerPage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: auto;
}

.centerRow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
  width: 100%;
}

.mascotPicture {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mascotPicture img {
  width: 100%;
  max-width: 350px;
  height: auto;
}

/* ==========================
   Login Panel
   ========================== */
.login-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.login-panel h1,
.login-panel .heading {
  text-align: left;
  margin-bottom: 1px;
  font-size: 2rem;
}

.login-panel .signup-container {
  padding: 30px;
  background-color: #fff;
  border-radius: 5px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 400px;
}

.login-panel .signup-container h1 {
  margin-bottom: 15px;
  font-size: 24px;
  color: var(--mid-light);
}

.login-panel .signup-container form {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-panel .signup-container input[type="text"],
.login-panel .signup-container input[type="email"],
.login-panel .signup-container input[type="password"] {
  padding: 15px;
  margin-bottom: 15px;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 3px;
  transition: box-shadow 0.2s ease;
}

.login-panel .signup-container input[type="text"]:focus,
.login-panel .signup-container input[type="email"]:focus,
.login-panel .signup-container input[type="password"]:focus {
  outline: none;
  box-shadow: 0 0 7px 2px var(--mid);
}

.login-panel .signup-container button {
  padding: 15px 30px;
  background-color: var(--mid);
  color: #fff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.login-panel .signup-container button:hover {
  background-color: var(--light);
  cursor: pointer;
}

.login-panel .signup-container .switch-option {
  margin-top: 15px;
  font-size: 14px;
}

.login-panel .signup-container .switch-option a {
  color: var(--mid);
  text-decoration: none;
  font-weight: bold;
}

.login-panel .signup-container .switch-option a:hover {
  text-decoration: underline;
  cursor: pointer;
}

/* ==========================
   Collectiqo Branding
   ========================== */
.collectiqo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--mid-light);
}

.CollectiqoText {
  text-align: center;
  color: var(--dark);
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 70%;
}

.CollectiqoText span {
  font-size: 300%;
  margin: 0;
  padding: 0;
  line-height: 1.4;
  color: #eee;
  text-transform: capitalize;
  background: linear-gradient(-45deg, #2f2587, #5521f3, #6472d0, #43448c);
  background-size: 200% 200%;
  letter-spacing: 7px;
  -webkit-background-clip: text;
  -webkit-text-stroke: 10px transparent;
}

/* ==========================
   Typography
   ========================== */
h1 {
  font-weight: bold;
  margin: 0;
}

h2 {
  text-align: center;
}


p {
  font-size: 14px;
  font-weight: 100;
  line-height: 20px;
  letter-spacing: 0.5px;
  margin: 20px 0 30px;
}

span {
  font-size: 12px;
}

a {
  color: #333;
  font-size: 14px;
  text-decoration: none;
  margin: 15px 0;
}

/* ==========================
   Button Styles
   ========================== */
button {
  border-radius: 20px;
  border: 1px solid var(--mid);
  background-color: var(--mid);
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 12px 45px;
  letter-spacing: 1px;
  cursor: pointer;
  text-transform: uppercase;
  transition: transform 80ms ease-in;
}

button:active {
  transform: scale(0.95);
}

button:focus {
  outline: none;
}

button.ghost {
  background-color: transparent;
  border-color: #fff;
}

/* ==========================
   Form & Input Fields
   ========================== */
form {
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 50px;
  height: 100%;
  text-align: center;
}

input {
  background-color: #eee;
  border: none;
  padding: 12px 15px;
  margin: 8px 0;
  width: 100%;
}

/* ==========================
   Auth Switch Container
   ========================== */
.switch-container {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25),
  0 10px 10px rgba(0, 0, 0, 0.22);
  position: relative;
  overflow: hidden;
  width: 768px;
  max-width: 100%;
  min-height: 380px;
}

.form-container {
  position: absolute;
  top: 0;
  height: 100%;
  transition: all 0.6s ease-in-out;
}

.sign-in-container,
.sign-up-container {
  left: 0;
  width: 50%;
  z-index: 1;
}

.sign-in-container {
  z-index: 2;
}

.switch-container.right-panel-active .sign-in-container {
  transform: translateX(100%);
}

.switch-container.right-panel-active .sign-up-container {
  transform: translateX(100%);
  opacity: 1;
  z-index: 5;
  animation: show 0.6s;
}

@keyframes show {
  0%, 49.99% {
    opacity: 0;
    z-index: 1;
  }
  50%, 100% {
    opacity: 1;
    z-index: 5;
  }
}

/* ==========================
   Overlay Panels
   ========================== */
.overlay-container {
  position: absolute;
  top: 0;
  left: 50%;
  width: 50%;
  height: 100%;
  overflow: hidden;
  transition: transform 0.6s ease-in-out;
  z-index: 100;
}

.switch-container.right-panel-active .overlay-container {
  transform: translateX(-100%);
}

.overlay {
  background: linear-gradient(to right, #457bf1, #533bf3);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 0 0;
  color: #fff;
  position: relative;
  left: -100%;
  height: 100%;
  width: 200%;
  transform: translateX(0);
  transition: transform 0.6s ease-in-out;
}

.switch-container.right-panel-active .overlay {
  transform: translateX(50%);
}

.overlay-panel {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  text-align: center;
  top: 0;
  height: 100%;
  width: 50%;
  transition: transform 0.6s ease-in-out;
}

.overlay-left {
  transform: translateX(-20%);
}

.switch-container.right-panel-active .overlay-left {
  transform: translateX(0);
}

.overlay-right {
  right: 0;
  transform: translateX(0);
}

.switch-container.right-panel-active .overlay-right {
  transform: translateX(20%);
}

/* ==========================
   Social Login Buttons
   ========================== */
.social-container {
  margin: 5px 0;
}

.social-container a {
  border: 1px solid var(--grey-white);
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 0 5px;
  height: 20px;
  width: 20px;
}

/* ==========================
   Footer
   ========================== */
footer {
  background-color: #222;
  color: #fff;
  font-size: 14px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 999;
}

footer p {
  margin: 10px 0;
}

footer i {
  color: var(--mid);
}

footer a {
  color: #3c97bf;
  text-decoration: none;
}

/* ==========================
   Responsive Design
   ========================== */
@media (max-width: 768px) {
  .centerRow {
    flex-direction: column;
    gap: 30px;
  }

  .login-panel .signup-container {
    padding: 20px;
    width: 95%;
    max-width: 95%;
  }

  .mascotPicture img {
    max-width: 280px;
  }
}
