/* Aribellas Fabrics login page */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;

  color: #2c2434;
  background:
    linear-gradient(
      rgba(255, 255, 255, 0.76),
      rgba(244, 239, 245, 0.88)
    ),
    url("../img/herobg.png");

  background-position: center;
  background-size: cover;
  background-attachment: fixed;

  font-family: Georgia, "Times New Roman", serif;
}

.login-page {
  width: 100%;
  min-height: calc(100vh - 160px);
  padding: 65px 20px 90px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card {
  width: 100%;
  max-width: 470px;
  padding: 44px 42px;

  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 26px;

  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);

  box-shadow:
    0 28px 70px rgba(44, 36, 52, 0.17),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.login-header {
  margin-bottom: 30px;
  text-align: center;
}

.login-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #7b527c;
  background: rgba(123, 82, 124, 0.12);
  border: 1px solid rgba(123, 82, 124, 0.2);
  border-radius: 50%;

  font-size: 23px;
}

.login-label {
  margin-bottom: 8px;

  color: #8f7a68;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.login-header h1 {
  margin-bottom: 10px;

  color: #2c2434;
  font-size: 36px;
  font-weight: 400;
}

.login-description {
  color: #6f6873;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

.login-error {
  margin-bottom: 22px;
  padding: 13px 15px;

  display: flex;
  align-items: flex-start;
  gap: 10px;

  color: #8a2d2d;
  background: rgba(255, 230, 230, 0.85);
  border: 1px solid rgba(184, 62, 62, 0.22);
  border-radius: 12px;

  font-family: Arial, sans-serif;
  font-size: 13px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;

  color: #423947;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
}

.input-wrapper {
  position: relative;
}

.input-wrapper i {
  position: absolute;
  top: 50%;
  left: 16px;

  color: #89748a;
  transform: translateY(-50%);
  pointer-events: none;
}

.input-wrapper input {
  width: 100%;
  height: 52px;
  padding: 0 16px 0 45px;

  color: #2c2434;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(44, 36, 52, 0.16);
  border-radius: 13px;
  outline: none;

  font-family: Arial, sans-serif;
  font-size: 14px;
}

.input-wrapper input:focus {
  background: #ffffff;
  border-color: rgba(123, 82, 124, 0.65);
  box-shadow: 0 0 0 4px rgba(123, 82, 124, 0.1);
}

.remember-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: #655d68;
  font-family: Arial, sans-serif;
  font-size: 13px;
  cursor: pointer;
}

.remember-option input {
  width: 16px;
  height: 16px;
  accent-color: #7b527c;
}

.submit-login-button {
  width: 100%;
  min-height: 52px;
  padding: 12px 20px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  color: #ffffff;
  background: #7b527c;
  border: 0;
  border-radius: 999px;

  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.submit-login-button:hover {
  background: #684269;
  transform: translateY(-2px);
}

.login-footer {
  margin-top: 26px;
  padding-top: 23px;

  text-align: center;
  border-top: 1px solid rgba(44, 36, 52, 0.1);
}

.login-footer a {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: #7b527c;
  font-family: Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

/* Account page */
.account-details {
  margin-bottom: 24px;

  display: flex;
  flex-direction: column;
  gap: 13px;
}

.account-detail-row {
  width: 100%;
  padding: 15px 17px;

  display: flex;
  align-items: center;
  gap: 14px;

  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(44, 36, 52, 0.12);
  border-radius: 14px;
}

.account-detail-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #7b527c;
  background: rgba(123, 82, 124, 0.1);
  border-radius: 50%;
}

.account-detail-row div {
  min-width: 0;
}

.account-detail-row small {
  display: block;
  margin-bottom: 4px;

  color: #8b828d;
  font-family: Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.account-detail-row strong {
  display: block;
  overflow-wrap: anywhere;

  color: #423947;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
}

.account-store-button {
  width: 100%;
  min-height: 52px;
  padding: 12px 20px;
  margin-bottom: 13px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;

  color: #7b527c;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(123, 82, 124, 0.3);
  border-radius: 999px;

  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;

  transition:
    color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease;
}

.account-store-button:hover {
  color: #ffffff;
  background: #7b527c;
  transform: translateY(-2px);
}

.account-logout-form {
  margin: 0;
}

.logout-main-button {
  background: #4d4350;
}

.logout-main-button:hover {
  background: #332d35;
}


@media (max-width: 650px) {
  .login-page {
    min-height: auto;
    padding: 35px 15px 65px;
  }

  .login-card {
    padding: 35px 23px;
    border-radius: 21px;
  }

  .login-header h1 {
    font-size: 30px;
  }
}