/* ==========================================================================
   Quotation Portal Premium Pantone Color Scheme:
   - Verde (#123A2C): Base Profesional
   - Gris Oscuro (#1C2029): Tono Unificado y Serio
   - Negro (#0A0E1A): Alto Contraste y Seriedad Técnica
   - Gradiente: #123A2C a #1C2029
   ========================================================================== */

:root {
  --color-green: #123A2C;
  --color-dark-gray: #1C2029;
  --color-black: #0A0E1A;
  --color-light-gray: #bdc3c7;
  --color-white: #f4f6f8;
}

body {
  font-family: 'Roboto', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--color-green) 0%, var(--color-dark-gray) 100%);
  margin: 0;
  color: var(--color-white);
}

.login-container {
  background-color: var(--color-dark-gray);
  padding: 35px 40px;
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  width: 380px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

label {
  display: block;
  margin-bottom: 6px;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-light-gray);
}

input[type="text"],
input[type="password"],
input[type="number"],
input[type="email"],
input[type="tel"],
select,
textarea,
.ts-wrapper .ts-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #2c3242;
  border-radius: 10px;
  box-sizing: border-box;
  background-color: var(--color-black);
  color: var(--color-white);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
select:focus,
textarea:focus,
.ts-wrapper .ts-control:focus {
  outline: none;
  border-color: var(--color-green);
  box-shadow: 0 0 0 3px rgba(18, 58, 44, 0.4), inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

button {
  background-color: var(--color-green);
  color: var(--color-white);
  border: none;
  padding: 13px 20px;
  border-radius: 10px;
  cursor: pointer;
  width: 100%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

button:hover {
  background-color: #1a4d3b;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}

button:active {
  transform: translateY(1px);
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.error-message {
  color: #ff6b6b;
  margin-top: 10px;
  margin-bottom: 15px;
  display: none;
  font-size: 14px;
  text-align: center;
  background-color: rgba(255, 107, 107, 0.1);
  padding: 8px;
  border-radius: 6px;
  border: 1px solid rgba(255, 107, 107, 0.2);
}

.signup-container {
  background-color: var(--color-dark-gray);
  padding: 35px 40px;
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  width: 440px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
  margin-bottom: 20px;
  width: 250px;
  height: auto;
}

h2 {
  margin-top: 0;
  margin-bottom: 25px;
  color: var(--color-white);
  font-weight: 700;
}

/* Centralized Flash/Alert message styles */
.alert {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.875rem;
  margin-bottom: 12px;
  text-align: center;
  border: 1px solid transparent;
}

.alert-danger {
  background-color: rgba(255, 107, 107, 0.1);
  border-color: rgba(255, 107, 107, 0.2);
  color: #ff6b6b;
}

.alert-success {
  background-color: rgba(46, 204, 113, 0.1);
  border-color: rgba(46, 204, 113, 0.2);
  color: #2ecc71;
}

.alert-info {
  background-color: rgba(52, 152, 219, 0.1);
  border-color: rgba(52, 152, 219, 0.2);
  color: #3498db;
}