/* ==========================================================
   MÓDULO DE VEEDURÍAS (LEY 850 DE 2003)
========================================================== */

.auth-container {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn-auth {
  background-color: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 8px 15px;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  transition: all 0.2s;
}

.btn-auth:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: white;
}

/* Modal General Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  overflow-y: auto;
}

.modal-content {
  background-color: #ffffff;
  margin: 8vh auto;
  padding: 35px;
  border-radius: 16px;
  width: 90%;
  max-width: 550px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
  position: relative;
}

.veedurias-content {
  max-width: 850px;
}

.close {
  color: #94a3b8;
  float: right;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s;
}

.close:hover {
  color: #1e293b;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
  color: #1e293b;
  font-size: 18px;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  background-color: #f8fafc;
  box-sizing: border-box;
  transition: all 0.2s;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: #003893;
  box-shadow: 0 0 0 4px rgba(0, 56, 147, 0.15);
  outline: none;
  background-color: #ffffff;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.auth-buttons-modal {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.btn-primary {
  background-color: #003893;
  color: white;
  border: none;
  padding: 15px 25px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  font-size: 18px;
  flex: 1;
  transition: transform 0.1s, opacity 0.2s;
  box-shadow: 0 4px 6px rgba(0, 56, 147, 0.2);
}

.btn-secondary {
  background-color: #f1f5f9;
  color: #1e293b;
  border: 2px solid #cbd5e1;
  padding: 15px 25px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 700;
  font-size: 18px;
  flex: 1;
  transition: background-color 0.2s;
}

.btn-primary:active, .btn-secondary:active {
  transform: scale(0.98);
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary:hover {
  background-color: #e2e8f0;
}

/* Tabs Veedurias */
.veedurias-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
  margin-top: 25px;
  border-bottom: none;
  background-color: #f1f5f9;
  padding: 8px;
  border-radius: 12px;
}

.tab-btn {
  background: transparent;
  border: none;
  padding: 14px 20px;
  font-size: 17px;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  border-radius: 8px;
  flex: 1;
  text-align: center;
  transition: all 0.2s;
}

.tab-btn:hover {
  background-color: #e2e8f0;
  color: #334155;
}

.tab-btn.active {
  background-color: #003893;
  color: white;
  box-shadow: 0 4px 6px rgba(0, 56, 147, 0.2);
}

.veeduria-card {
  background: #f8f9fa;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 15px;
}

.veeduria-card h4 {
  margin: 0 0 10px 0;
  color: #003893;
}

.btn-asignar-veeduria {
  background-color: #4CAF50;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  font-weight: bold;
  margin-top: 10px;
  width: 100%;
}

.btn-asignar-veeduria:hover {
  background-color: #45a049;
}
