/* Estilos generales para login, forgot_password, register_client */

:root {
  --primary: #4361ee;
  --primary-light: #4895ef;
  --primary-dark: #3a0ca3;
  --secondary: #f72585;
  --success: #4cc9f0;
  --warning: #f8961e;
  --danger: #ef233c;
  --dark: #2b2d42;
  --medium: #8d99ae;
  --light: #edf2f4;
  --bg-dashboard: #1a1a2e;
  --bg-card: #16213e;
  --bg-sidebar: #0f3460;
}

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

body, html {
  height: 100%;
  overflow: hidden;
}

video.bg-video {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: -1;
  object-fit: cover;
  filter: brightness(0.4);
}

.login-container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 20px;
}

.login-box {
  background: linear-gradient(135deg, rgba(58,12,163,0.9), rgba(247,37,133,0.9));
  padding: 40px 30px;
  border-radius: 16px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
  color: var(--light);
}

.login-box img.logo {
  display: block;
  margin: 0 auto 20px;
  width: 250px;
}

.login-box h1 {
  text-align: center;
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 25px;
  letter-spacing: 1px;
}

.form-group {
  margin-bottom: 18px;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--light);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background-color: var(--dark);
  color: var(--light);
  font-size: 15px;
}

.password-wrapper {
  position: relative;
}

.password-wrapper input {
  width: 100%;
  padding-right: 40px;
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  background-color: var(--dark);
  border: none;
  color: var(--primary);
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-login {
  width: 100%;
  padding: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.3s;
}

.btn-login:hover {
  background: var(--primary-light);
}

.extra-links {
  text-align: center;
  margin-top: 18px;
  font-size: 13px;
}

.extra-links a {
  color: var(--success);
  text-decoration: none;
}

.extra-links a:hover {
  text-decoration: underline;
}

.footer {
  text-align: center;
  margin-top: 25px;
  font-size: 12px;
  color: var(--medium);
}

.alert {
  background-color: var(--danger);
  color: white;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 15px;
  text-align: center;
}

.success {
  background-color: var(--success);
  color: white;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 15px;
  text-align: center;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  font-size: 13px;
}

.checkbox-group input[type="checkbox"] {
  accent-color: var(--success);
  transform: scale(1.2);
}
.alert {
  padding: 12px 18px;
  margin: 15px 0;
  border-radius: 6px;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
}

.alert.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
/* === Estilos para logout.php === */
.logout-box {
  background-color: rgba(255, 255, 255, 0.06);
  padding: 40px 50px;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0, 200, 255, 0.25);
  animation: fadeIn 0.8s ease-in-out;
  max-width: 400px;
  text-align: center;
}

.logout-box h1 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #ffffff;
}

.logout-box p {
  font-size: 1rem;
  margin-bottom: 25px;
  color: #dddddd;
}

.spinner {
  border: 6px solid #ffffff1a;
  border-top: 6px solid #00d4ff;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px auto;
}

.btn-go-login {
  display: inline-block;
  background: #00c2ff;
  color: #0c1c3b;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn-go-login:hover {
  background: #05b0e5;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}
/* Estilos generales para login, forgot_password, register_client */

:root {
  --primary: #4361ee;
  --primary-light: #4895ef;
  --primary-dark: #3a0ca3;
  --secondary: #f72585;
  --success: #4cc9f0;
  --warning: #f8961e;
  --danger: #ef233c;
  --dark: #2b2d42;
  --medium: #8d99ae;
  --light: #edf2f4;
  --bg-dashboard: #1a1a2e;
  --bg-card: #16213e;
  --bg-sidebar: #0f3460;
}

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

body, html {
  height: 100%;
  overflow: hidden;
}

video.bg-video {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: -1;
  object-fit: cover;
  filter: brightness(0.4);
}

.login-container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 20px;
}

.login-box {
  background: linear-gradient(135deg, rgba(58,12,163,0.9), rgba(247,37,133,0.9));
  padding: 40px 30px;
  border-radius: 16px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
  color: var(--light);
}

.login-box img.logo {
  display: block;
  margin: 0 auto 20px;
  width: 300px;
}

.login-box h1 {
  text-align: center;
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 25px;
  letter-spacing: 1px;
}

.form-group {
  margin-bottom: 18px;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--light);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background-color: var(--dark);
  color: var(--light);
  font-size: 15px;
}

.password-wrapper {
  position: relative;
}

.password-wrapper input {
  width: 100%;
  padding-right: 40px;
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  background-color: var(--dark);
  border: none;
  color: var(--primary);
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-login {
  width: 100%;
  padding: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.3s;
}

.btn-login:hover {
  background: var(--primary-light);
}

.extra-links {
  text-align: center;
  margin-top: 18px;
  font-size: 13px;
}

.extra-links a {
  color: var(--success);
  text-decoration: none;
}

.extra-links a:hover {
  text-decoration: underline;
}

.footer {
  text-align: center;
  margin-top: 25px;
  font-size: 12px;
  color: var(--medium);
}

.alert {
  background-color: var(--danger);
  color: white;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 15px;
  text-align: center;
}

.success {
  background-color: var(--success);
  color: white;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 15px;
  text-align: center;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  font-size: 13px;
}

.checkbox-group input[type="checkbox"] {
  accent-color: var(--success);
  transform: scale(1.2);
}
.alert {
  padding: 12px 18px;
  margin: 15px 0;
  border-radius: 6px;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
}

.alert.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
/* === Estilos para logout.php === */
.logout-box {
  background-color: rgba(255, 255, 255, 0.06);
  padding: 40px 50px;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0, 200, 255, 0.25);
  animation: fadeIn 0.8s ease-in-out;
  max-width: 400px;
  text-align: center;
}

.logout-box h1 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #ffffff;
}

.logout-box p {
  font-size: 1rem;
  margin-bottom: 25px;
  color: #dddddd;
}

.spinner {
  border: 6px solid #ffffff1a;
  border-top: 6px solid #00d4ff;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px auto;
}

.btn-go-login {
  display: inline-block;
  background: #00c2ff;
  color: #0c1c3b;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn-go-login:hover {
  background: #05b0e5;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}
/* Estilos generales para login, forgot_password, register_client */

:root {
  --primary: #4361ee;
  --primary-light: #4895ef;
  --primary-dark: #3a0ca3;
  --secondary: #f72585;
  --success: #4cc9f0;
  --warning: #f8961e;
  --danger: #ef233c;
  --dark: #2b2d42;
  --medium: #8d99ae;
  --light: #edf2f4;
  --bg-dashboard: #1a1a2e;
  --bg-card: #16213e;
  --bg-sidebar: #0f3460;
}

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

body, html {
  height: 100%;
  overflow: hidden;
}

video.bg-video {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: -1;
  object-fit: cover;
  filter: brightness(0.4);
}

.login-container {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  padding: 20px;
}

.login-box {
  background: linear-gradient(135deg, rgb(0 31 255 / 90%), rgb(0 0 0 / 90%));
  padding: 40px 30px;
  border-radius: 16px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 0 30px rgba(0,0,0,0.5);
  color: var(--light);
}

.login-box img.logo {
  display: block;
  margin: 0 auto 20px;
  width: 300px;
}

.login-box h1 {
  text-align: center;
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 25px;
  letter-spacing: 1px;
}

.form-group {
  margin-bottom: 18px;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--light);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"] {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 8px;
  background-color: var(--dark);
  color: var(--light);
  font-size: 15px;
}

.password-wrapper {
  position: relative;
}

.password-wrapper input {
  width: 100%;
  padding-right: 40px;
}

.toggle-password {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  background-color: var(--dark);
  border: none;
  color: var(--primary);
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-login {
  width: 100%;
  padding: 12px;
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 10px;
  transition: background 0.3s;
}

.btn-login:hover {
  background: var(--primary-light);
}

.extra-links {
  text-align: center;
  margin-top: 18px;
  font-size: 13px;
}

.extra-links a {
  color: var(--success);
  text-decoration: none;
}

.extra-links a:hover {
  text-decoration: underline;
}

.footer {
  text-align: center;
  margin-top: 25px;
  font-size: 12px;
  color: var(--medium);
}

.alert {
  background-color: var(--danger);
  color: white;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 15px;
  text-align: center;
}

.success {
  background-color: var(--success);
  color: white;
  padding: 10px;
  border-radius: 6px;
  margin-bottom: 15px;
  text-align: center;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 0;
  font-size: 13px;
}

.checkbox-group input[type="checkbox"] {
  accent-color: var(--success);
  transform: scale(1.2);
}
.alert {
  padding: 12px 18px;
  margin: 15px 0;
  border-radius: 6px;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
}

.alert.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.alert.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}
/* === Estilos para logout.php === */
.logout-box {
  background-color: rgba(255, 255, 255, 0.06);
  padding: 40px 50px;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0, 200, 255, 0.25);
  animation: fadeIn 0.8s ease-in-out;
  max-width: 400px;
  text-align: center;
}

.logout-box h1 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #ffffff;
}

.logout-box p {
  font-size: 1rem;
  margin-bottom: 25px;
  color: #dddddd;
}

.spinner {
  border: 6px solid #ffffff1a;
  border-top: 6px solid #00d4ff;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px auto;
}

.btn-go-login {
  display: inline-block;
  background: #00c2ff;
  color: #0c1c3b;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn-go-login:hover {
  background: #05b0e5;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}
