

/* Login page wrapper */
.loginCont {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at center,  #e6d5b8 0%, #bc9879 100%);
  padding: 0;
}



/* Container */

.logo img{
  height: 50px;
  width: 50px;
  border-radius: 50px;
  margin-right: 20px;
}

.logo p{
  padding-left: 15px;
}

.container {
  max-width: 1100px;
  margin: 10px auto;
  padding: 30px;
  background: none;
  border-radius: 30px;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 25px;
  border-radius: 12px;
  background: #a7866a;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.navbar .logo {
  font-size: 26px;
  font-weight: 700;
  color: #4d2e14;
  font-family: "Poppins", sans-serif;
}

.home-btn {
  background: #ffcc5c;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  color: #4d2e14;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.home-btn:hover {
  background: #e6b84f;
}

.home-btn a {
  text-decoration: none;
  font-family: "Poppins", sans-serif;
  color: #4d2e14;
}

/* Content Layout */
.content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  gap: 40px;
}

/* Login Card */
.login-card {
  width: 400px;
  padding: 30px;
  border-radius: 25px;
  background: rgba(111, 79, 55, 0.85);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.login-card h2 {
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 20px;
}

.login-card label {
  display: block;
  margin: 10px 0 5px;
  font-family: "Poppins", sans-serif;
  font-style: normal;
  color: #f1e0c6;
}

.login-card input {
  width: 100%;
  height: 45px;
  border-radius: 10px;
  border: none;
  margin-bottom: 5px;
  font-family: "Poppins", sans-serif;
  background: #d9d9d9;
  color: #6f4f37;
  padding-left: 12px;
}

.login-btn {
  width: 100%;
  height: 50px;
  border-radius: 12px;
  background: #292929;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
  margin-bottom: 15px;
  font-size: 18px;
  font-weight: 600;
  color: #F1E0C6;
}

.login-btn:hover {
  background: #3f3f3f;
}

.login-btn p {
  color: #f1e0c6;
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  margin: 0;
}

.login-card p {
  text-align: center;
  font-family: "Poppins", sans-serif;
}

.login-card a {
  color: #ffcc5c;
  text-decoration: none;
  font-weight: bold;
}

/* Login Method Toggle */
.login-method-toggle {
  display: flex;
  margin-top: 15px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 4px;
}

.toggle-btn {
  flex: 1;
  padding: 10px 15px;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: #f1e0c6;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.toggle-btn.active {
  background: #ffcc5c;
  color: #4d2e14;
  font-weight: 600;
}

.toggle-btn:hover:not(.active) {
  background: rgba(255, 255, 255, 0.1);
}

/* QR Login Section */
.qr-login-section {
  text-align: center;
  padding: 0;
  margin: 0 0 20px 0;
}

.qr-placeholder {
  width: 120px;
  height: 120px;
  margin: 35px auto 45px auto;
  border: 2px dashed #f1e0c6;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.05);
}


.qr-icon {
  font-size: 32px;
  margin-bottom: 8px;
}

.qr-placeholder p {
  color: #f1e0c6;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-style: normal;
  margin: 0;
}

/* QR Options */
.qr-options {
  display: flex;
  gap: 10px;
  margin: 5px 0 5px 0;
  align-items: stretch;
}

.qr-option-btn {
  flex: 1;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 13px;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  font-style: normal;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 10px;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  min-height: 46px;
}

.qr-option-icon {
  font-size: 15px;
}

.camera-btn {
  background: #6F4F37;
  color: #f1e0c6;
}

.camera-btn:hover {
  background: #5a3d2a;
  transform: translateY(-2px);
}

.upload-btn {
  background: #6F4F37 !important;
  color: #f1e0c6 !important;
}

.upload-btn:hover {
  background: #5a3d2a !important;
  transform: translateY(-2px);
}


.qr-upload-wrapper {
  flex: 1;
  display: flex;
}

.qr-upload-wrapper label {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 10px;
  box-sizing: border-box;
  border-radius: 8px;
  transition: all 0.2s ease;
  font-size: 13px;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  font-style: normal;
}

/* Coffee Art Section */
.login-element {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: linear-gradient(170deg, #ccbda7 10%, #876d59 33.1%, #442e1d 100%);
  box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.25);
  position: relative;
}

.coffee-art img {
  max-width: 80%;
  height: auto;
  display: block;
  margin: auto;
}

/* Coffee Cup Icon */
.coffee-cup img {
  width: 80px;
  height: auto;
  position: absolute;
  left: -30px;
  top: 90px;
  transform: rotate(-15deg);
}

/* Tablet & Smaller Screens */
@media only screen and (max-width: 1024px) {

  /* Container adjusts to screen */
  .container {
    width: 90%;
    padding: 20px;
    border-radius: 20px;
    transition: all 0.5s ease;
  }

  /* Navbar */
  .navbar .logo {
    font-size: 20px;
    transition: all 0.5s ease;
  }

  .home-btn {
    padding: 8px 16px;
    font-size: 14px;
    transition: all 0.5s ease;
  }

  /* Content layout goes vertical */
  .content {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    transition: all 0.5s ease;
  }

  /* Login Card */
  .login-card {
    width: 90%;
    padding: 20px;
    border-radius: 20px;
    transition: all 0.5s ease;
  }

  .login-card h2 {
    font-size: 28px;
    transition: all 0.5s ease;
  }

  .login-card input {
    width: 100%;
    height: 45px;
    font-size: 14px;
    transition: all 0.5s ease;
  }

  .login-btn {
    width: 100%;
    height: 45px;
    transition: all 0.5s ease;
  }

  .login-btn p {
    font-size: 16px;
    transition: all 0.5s ease;
  }

  /* QR Login responsive */
  .qr-placeholder {
    width: 120px;
    height: 120px;
  }

  .qr-icon {
    font-size: 36px;
  }

  .qr-options {
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
  }

  .qr-option-btn {
    font-size: 14px;
    padding: 12px 8px;
    width: 100%;
  }

  .qr-option-icon {
    font-size: 18px;
  }

  /* Coffee Art Circle */
  .login-element {
    display: none;
  }
}

/* Mobile Screens */
@media only screen and (max-width: 768px) {
  .login-card h2 {
    font-size: 22px;
  }

  .login-card input {
    font-size: 12px;
    height: 40px;
  }

  .login-btn p {
    font-size: 14px;
  }

  /* QR Login mobile */
  .qr-placeholder {
    width: 100px;
    height: 100px;
  }

  .qr-icon {
    font-size: 32px;
  }

  .qr-options {
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
  }

  .qr-option-btn {
    min-height: 55px;
    font-size: 12px;
    padding: 10px 6px;
    width: 100%;
  }

  .qr-option-icon {
    font-size: 16px;
  }

  .login-element{
    display: none;
  }

  .logo p{
    display: none;
  }
}
