/* public/admin-backoffice/css/style.css */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  background-color: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.login-container {
  background: white;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.icon-wrapper {
  background-color: #e0e7ff;
  /* Azul muito claro */
  color: #4f46e5;
  /* Azul Indigo */
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  font-size: 1.75rem;
}

h2 {
  color: #1f2937;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

p.subtitle {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1rem;
  text-align: left;
}

input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: all 0.2s;
  outline: none;
}

input:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

button {
  width: 100%;
  padding: 0.75rem;
  background-color: #4f46e5;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-top: 1rem;
}

button:hover {
  background-color: #4338ca;
}

/* Animação suave */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-container {
  animation: fadeIn 0.4s ease-out;
}

/* --- MODAL CUSTOMIZADO (Igual ao Cliente) --- */
.custom-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.custom-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}
.custom-modal-box {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.custom-modal-overlay.open .custom-modal-box {
  transform: translateY(0);
}
.modal-icon {
  font-size: 3.5rem;
  margin-bottom: 15px;
  display: block;
}
.modal-icon.success {
  color: #2ecc71;
}
.modal-icon.error {
  color: #e74c3c;
}
.modal-icon.info {
  color: #3498db;
}
.modal-title {
  margin: 0 0 10px;
  color: #333;
  font-size: 1.5rem;
}
.modal-message {
  color: #666;
  margin-bottom: 25px;
  line-height: 1.5;
}
.modal-btn {
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  color: #fff;
  transition: background 0.3s;
}
.modal-btn.success {
  background: #2ecc71;
}
.modal-btn.success:hover {
  background: #27ae60;
}
.modal-btn.error {
  background: #e74c3c;
}
.modal-btn.error:hover {
  background: #c0392b;
}
.modal-btn.info {
  background: #3498db;
}
