.auth-page-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
  background-color: #FFFFFF;
  position: relative;
}

.auth-card {
  max-width: 450px;
  width: 100%;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 28px;
  padding: 44px 38px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.auth-icon-circle {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #FFF1F2;
  border: 1px solid #FEE2E2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all 0.2s ease;
}

.auth-icon-circle svg {
  width: 24px;
  height: 24px;
  color: #000000;
  transition: color 0.2s ease;
}

.auth-icon-circle:hover svg {
  color: #DF0513;
}

.auth-title {
  font-size: 26px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.auth-subtitle {
  font-size: 14px;
  color: #64748B;
  margin-bottom: 28px;
}

.auth-form {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.auth-field-group {
  display: flex;
  flex-direction: column;
}

.auth-label {
  font-size: 13.5px;
  font-weight: 700;
  color: #1E293B;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 7px;
}

.auth-forgot-link {
  font-size: 13px;
  font-weight: 700;
  color: #DF0513;
  text-decoration: none;
  transition: color 0.2s ease;
}

.auth-forgot-link:hover {
  color: #B70410;
  text-decoration: underline;
}

.auth-input-wrap {
  position: relative;
  width: 100%;
}

.auth-input {
  width: 100%;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 14.5px;
  color: #0F172A;
  background-color: #F8FAFC;
  outline: none;
  transition: all 0.2s ease;
  font-family: inherit;
}

.auth-input-wrap .auth-input {
  padding-right: 44px;
}

.auth-input::placeholder {
  color: #94A3B8;
}

.auth-input:focus {
  background-color: #FFFFFF;
  border-color: #DF0513;
  box-shadow: 0 0 0 3px rgba(223, 5, 19, 0.1);
}

.auth-password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  color: #000000;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.auth-password-toggle svg {
  width: 20px;
  height: 20px;
  color: #000000;
  transition: color 0.2s ease;
}

.auth-password-toggle:hover svg {
  color: #DF0513;
}

.auth-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 2px;
}

.auth-checkbox {
  width: 17px;
  height: 17px;
  margin-top: 2px;
  accent-color: #DF0513;
  cursor: pointer;
  flex-shrink: 0;
}

.auth-checkbox-label {
  font-size: 13px;
  color: #475569;
  line-height: 1.45;
  cursor: pointer;
}

.auth-checkbox-link {
  color: #DF0513;
  font-weight: 700;
  text-decoration: underline;
}

.auth-checkbox-link:hover {
  color: #B70410;
}

.auth-submit-btn {
  width: 100%;
  background: #DF0513;
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 700;
  padding: 14px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 4px;
  box-shadow: 0 4px 14px rgba(223, 5, 19, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-submit-btn:hover {
  background: #B70410;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(223, 5, 19, 0.35);
}

.auth-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.auth-footer-switch {
  margin-top: 24px;
  font-size: 14px;
  color: #64748B;
  text-align: center;
}

.auth-footer-link {
  font-weight: 700;
  color: #DF0513;
  text-decoration: none;
  margin-left: 4px;
}

.auth-footer-link:hover {
  color: #B70410;
  text-decoration: underline;
}

.auth-back-home {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: #000000;
  text-decoration: none;
  transition: color 0.2s ease;
  text-align: center;
}

.auth-back-home svg {
  width: 16px;
  height: 16px;
  color: #000000;
  transition: transform 0.2s ease, color 0.2s ease;
}

.auth-back-home:hover {
  color: #DF0513;
}

.auth-back-home:hover svg {
  color: #DF0513;
  transform: translateX(-3px);
}

.auth-alert {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 600;
  display: none;
  margin-bottom: 18px;
  text-align: left;
}

.auth-alert.is-error {
  display: block;
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

.auth-alert.is-success {
  display: block;
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  color: #166534;
}

.cookie-notice-card {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 380px;
  width: calc(100% - 48px);
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.3s ease;
}

.cookie-header {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cookie-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #FFF1F2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cookie-icon svg {
  width: 18px;
  height: 18px;
  color: #000000;
  transition: color 0.2s ease;
}

.cookie-icon:hover svg {
  color: #DF0513;
}

.cookie-title {
  font-size: 15px;
  font-weight: 700;
  color: #0F172A;
}

.cookie-text {
  font-size: 12.5px;
  color: #64748B;
  line-height: 1.5;
}

.cookie-link {
  color: #DF0513;
  font-weight: 600;
  text-decoration: underline;
}

.cookie-link:hover {
  color: #B70410;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.cookie-btn-reject {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid #E2E8F0;
  background: #FFFFFF;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cookie-btn-reject:hover {
  background: #F1F5F9;
  color: #000000;
}

.cookie-btn-accept {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  border: none;
  background: #DF0513;
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cookie-btn-accept:hover {
  background: #B70410;
}

@media (max-width: 500px) {
  .auth-card {
    padding: 34px 22px;
    border-radius: 22px;
  }

  .cookie-notice-card {
    left: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
  }
}
