@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

body {
  font-family: "Segoe UI", Roboto, sans-serif;
  background-color: #f7f8fa;
  margin: 0;
  padding: 0;
}

/* ============================= */
/* FORMULARIO DE LOGIN */
/* ============================= */
.login-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.login-card {
  background: #fff;
  padding: 40px 50px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  width: 350px;
  text-align: center;
}

.login-icon {
  background-color: #0b0b16;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

h2 {
  margin: 10px 0 5px 0;
  font-weight: 600;
  color: #1c1c1e;
}

.subtitle {
  font-size: 14px;
  color: #6b6b6b;
  margin-bottom: 25px;
}

form label {
  display: block;
  font-weight: 500;
  color: #333;
  margin: 10px 0 5px 0;
}

form input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  margin-bottom: 15px;
}

button {
  width: 100%;
  padding: 10px;
  border: none;
  background-color: #0b0b16;
  color: white;
  border-radius: 6px;
  cursor: pointer;
}

button:hover {
  background-color: #1a1a2e;
}

.demo-info {
  background-color: #f0f0f4;
  padding: 8px;
  border-radius: 6px;
  font-size: 13px;
  margin-top: 20px;
}

/* ============================= */
/* ALERTIFY.JS ESTILO UNIFICADO */
/* ============================= */
.alertify-notifier .ajs-message-wrap,
.alertify-notifier .ajs-message {
  font-family: "Segoe UI", Roboto, sans-serif !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  border-radius: 12px !important;
  padding: 12px 20px 12px 45px !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25) !important;
  text-align: left !important;
  display: flex !important;
  align-items: center !important;
  min-width: 260px !important;
  position: relative !important;
}

/* Verde (éxito) */
.alertify-notifier .ajs-message.ajs-success {
  background-color: #28a745 !important;
  color: #fff !important;
}

.alertify-notifier .ajs-message.ajs-success::before {
  content: "✔";
  background-color: #28a745 !important;
  color: #fff !important;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.3);
  position: absolute;
  left: 15px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
}

/* Rojo (error) */
.alertify-notifier .ajs-message.ajs-error {
  background-color: #dc3545 !important;
  color: #fff !important;
}

.alertify-notifier .ajs-message.ajs-error::before {
  content: "✖";
  background-color: #dc3545 !important;
  color: #fff !important;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.3);
  position: absolute;
  left: 15px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: bold;
}

/* ============================= */
/* MÁRGENES DE ALERTIFY - SEPARAR DEL BORDE */
/* ============================= */
.alertify-notifier {
    top: 20px !important;   /* separación desde arriba */
    right: 20px !important; /* separación desde la derecha */
}

/* ============================= */
/* DASHBOARD */
/* ============================= */
.dashboard-container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-color: #f7f8fa;
}

.dashboard-card {
  background: #fff;
  padding: 40px 50px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  width: 420px;
  text-align: center;
}

.dashboard-card h1 {
  margin-bottom: 15px;
  color: #1c1c1e;
}

.welcome-text {
  font-size: 15px;
  color: #555;
  margin-bottom: 25px;
}

.dashboard-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dashboard-nav a {
  background-color: #0b0b16;
  color: #fff;
  text-decoration: none;
  padding: 10px 0;
  border-radius: 6px;
  font-weight: 500;
  transition: background-color 0.2s;
}

.dashboard-nav a:hover {
  background-color: #1a1a2e;
}

.dashboard-nav .logout {
  background-color: #dc3545;
}

.dashboard-nav .logout:hover {
  background-color: #a91f30;
}
