p.login.button,
p.signin.button {
  text-align: center !important;
}

.or-container {
  display: flex;
  align-items: center;
}

.or-line {
  flex: 1;
}

.or-text {
  margin: 0 10px;
}

.social-login {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 12px 0;
  gap: 18px;
}

.social-login-button {
  border-radius: 3rem;
  background-color: white;
  display: flex;
  gap: 8px;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 20px;
  padding-right: 28px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none !important;
  color: black !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  width: 90%;
}

.social-login-button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.social-login-button svg {
  width: 36px;
  height: 36px;
}

.sync-confirm-container {
  max-width: 400px;
  margin: 80px auto;
  padding: 30px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.sync-confirm-container .sync-title {
  margin-bottom: 20px;
  font-size: 24px;
  color: #333;
}

.sync-confirm-container .sync-text {
  margin-bottom: 12px;
  color: #555;
  font-size: 16px;
}

.sync-confirm-container form {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.sync-confirm-container form button,
a {
  padding: 12px 20px;
  border-radius: 4px;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.sync-confirm-container .sync-button {
  background-color: #4caf50;
}

.sync-confirm-container .sync-button:hover {
  background-color: #45a049;
}

.sync-confirm-container .cancel-button {
  background-color: #f44336;
}

.sync-confirm-container .cancel-button:hover {
  background-color: #e53935;
}

.error {
  color: red;
  font-size: 12px;
}

.error-box {
  border: 1px solid #ff6e6e !important;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  margin: 10px 0;
}

.remember-me input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.remember-me label {
  cursor: pointer;
}

.otp-container {
  max-width: 500px;
  margin: 50px auto;
  padding: 30px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.otp-inputs {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 20px 0;
}

.otp-input {
  width: 60px;
  height: 60px;
  text-align: center;
  font-size: 24px;
  font-weight: bold;
  border: 2px solid #ddd;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.otp-input:focus {
  border-color: #007bff;
}

.otp-input:valid {
  border-color: #28a745;
}

.otp-input:invalid {
  border-color: #dc3545;
}

.btn-verify {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  font-weight: bold;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-verify:hover {
  background: #0056b3;
}
.btn-verify:disabled {
  background: #ccc;
  cursor: not-allowed;
}
.resend-link {
  text-align: center;
  margin-top: 20px;
}
.resend-link a {
  padding: 0;
  color: #007bff;
  text-decoration: none;
}
.resend-link a:hover {
  text-decoration: underline;
}

.error {
  color: #b00020;
  margin-top: 1rem;
}
.info {
  color: #034;
  margin-top: 1rem;
}

.disabled {
  opacity: 0.5;
  pointer-events: none;
}
.muted {
  color: #555;
}

/* Error page styles */
.error-container {
  text-align: center;
  padding: 2rem;
  max-width: 600px;
  width: 100%;
  position: relative;
  top: 40%;
  transform: translateY(-40%);
  margin: 0 auto;
}

.error-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.watermark {
  font-size: 30rem;
  font-weight: 900;
  color: rgba(220, 220, 220, 0.4);
  letter-spacing: 2rem;
  margin-right: -2rem;
  line-height: 1;
  user-select: none;
}

.error-content {
  z-index: 2;
  position: relative;
}

.error-title {
  font-size: 2.5rem;
  font-weight: 400;
  color: #111;
  margin-bottom: 1rem;
}

.error-message {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 1.5rem;
  line-height: 1.5;
  width: auto;
  white-space: nowrap;
}

.error-actions {
  display: flex;
  justify-content: center;
}

.btn-home {
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  background: rgb(255, 153, 153);
  color: black;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-home:hover {
  background: rgb(255, 102, 102);
  color: black;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-home::after {
  content: "→";
  font-size: 1rem;
}

@media (max-width: 1090px) {
  .error-message {
    white-space: normal;
  }
  .watermark {
    font-size: 20rem;
    letter-spacing: 1rem;
  }
  .error-title {
    font-size: 2rem;
  }

  .error-message {
    font-size: 1rem;
  }
}
