* {
  box-sizing: border-box;
}

body {
  font-family: 'Barlow', sans-serif;
  background-color: radial-gradient(circle at 25% 25%, #e0e7ff 0%, #f6f8fb 60%);
  margin: 40px;
}

h2,
p {
  text-align: center;
}

.btn {
  background-color: #f0f0f0;
  color: #000;
  border: none;
  cursor: pointer;
  padding: 5px;
  border-radius: 5px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}
table th,
table td {
  font-family: 'Barlow', sans-serif;
  border: 1px solid #ccc;
  padding: 8px 8px;
  text-align: left;
}
table th {
  font-family: 'Ancizar Sans', sans-serif;

  background-color: #f2f2f2;
}

.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.user-info-bar {
  text-align: right;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.inline {
  display: inline;
}

.editable-input {
  font-family: 'Barlow', sans-serif;
  width: 100%;
  padding: 6px;
  font-size: inherit;
  border: 1px solid #ccc;
  border-radius: 4px;
}
.error {
  color: red;
  font-size: 14px;
  text-align: center;
}
.input-error {
  border: red 1px solid;
}
.no-data {
  text-align: center;
  font-size: 36px;
}
.icon-logo {
  height: 16px;
  vertical-align: middle;
  margin-right: 5px;
}
.add-domain-btn-wrapper {
  margin-top: 20px;
}
.delete-domain-logo {
  height: 16px;
  vertical-align: middle;
}
.add-domain-btn {
  background-color: #f0f0f0;
  color: #000;
  border: none;
  cursor: pointer;
  padding: 5px;
  border-radius: 5px;
}
.edit-domain-btn {
  background-color: #f0f0f0;
  color: #000;
  border: none;
  cursor: pointer;
  padding: 5px;
  border-radius: 5px;
}
.submit-domain-btn {
  background-color: #f0f0f0;
  color: #000;
  border: none;
  cursor: pointer;
  padding: 5px;
  border-radius: 5px;
  display: none;
}
.delete-domain-btn {
  background-color: #f0f0f0;
  color: #000;
  border: none;
  cursor: pointer;
  padding: 5px;
  border-radius: 5px;
}
.btn_logout {
  background-color: #f0f0f0;
  color: #000;
  border: none;
  cursor: pointer;
  padding: 5px;
  border-radius: 5px;
}

.login-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: radial-gradient(circle at 25% 25%, #e0e7ff 0%, #f6f8fb 60%);
  background-image: url('/assets/images/login-bg-2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
.login-wrapper {
  background: rgba(255, 255, 255, 0.85);
  padding: 32px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  max-width: 400px;
  width: 100%;
  animation: pop-in 0.5s ease-out;
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.login-logo {
  font-family: 'Ancizar Sans', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #333;
  margin-bottom: 16px;
}
input[readonly] {
  font-family: 'Barlow', sans-serif;
  width: auto;
  border: none;
  background: transparent;
  color: inherit;
  font-size: inherit;
  padding: 4px;
  pointer-events: none;
}

h1 {
  font-family: 'Ancizar Sans', sans-serif;
  font-weight: 600;
  font-size: 28px;
  color: #333;
  margin-bottom: 24px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input {
  font-family: 'Barlow', sans-serif;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  transition: border-color 0.2s;
}

input:focus {
  outline: none;
  border-color: #d1d5db;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}

.login-form button {
  font-family: 'Barlow', sans-serif;
  width: 100%;
  padding: 0.75rem 1rem;
  box-shadow: 0 0 0 3px rgba(22, 60, 143, 0.25);
  background-color: rgba(37, 99, 235, 0.8);
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.login-form button:hover {
  background-color: #0056b3;
}

.login-wrapper p {
  margin-top: 0;
}

.login-info {
  font-size: 12px;
  color: #666;
  margin-top: 20px;
  text-align: left;
}

.login-info p {
  font-family: 'Ancizar Sans', sans-serif;

  margin-bottom: 4px;
  text-align: center;
}
/* ===== Error message ===== */
.login-body p[style*='color: red'] {
  margin-top: 1rem;
  color: #f00 !important;
  font-weight: 500;
}

/* ===== Responsive tweaks ===== */
@media (max-width: 480px) {
  .login-wrapper {
    padding: 2rem 1.5rem 2.5rem;
  }
}
