/* =====================================================
   SCOPE MIS DATOS (NO AFECTA OTROS MÓDULOS)
===================================================== */
body.mis-datos {
    background: var(--blanco);
    font-family: Arial, sans-serif;
    min-height: 100vh;
    
    overflow-x: auto;
}

/* ================= SIDEBAR ================= */
body.mis-datos .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    background: var(--rojo-principal);
    padding: 30px 20px;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    gap: 30px;

    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
}

body.mis-datos .sidebar.active {
    transform: translateX(0);
}

/* ================= BOTÓN HAMBURGUESA ================= */
body.mis-datos .btn-menu {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 2000;

    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--azul-principal);
    color: var(--blanco);
    border: none;

    font-size: 22px;
    font-weight: 700;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    transition: all 0.25s ease;
}

body.mis-datos .btn-menu:hover {
    transform: translateY(-2px);
}

body.mis-datos .sidebar.active~.btn-menu {
    transform: none;
}

/* ================= LOGO ================= */
body.mis-datos .logo {
    max-width: 180px;
    width: 100%;
    margin: 0 auto;
    object-fit: contain;
}

/* ================= ACCIONES ================= */
body.mis-datos .acciones {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

body.mis-datos .acciones button {
    width: 100%;
    text-align: left;
    background: rgba(255, 255, 255, 0.15);
    color: var(--blanco);
    border: none;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease;
}

body.mis-datos .acciones button:hover {
    background: var(--azul-principal);
}

/* ================= MAIN ================= */
body.mis-datos .main-content {
    padding: 30px;
    transition: margin-left 0.3s ease;
}

body.mis-datos .sidebar.active~.main-content {
    margin-left: 260px;
}

/* ================= CARD MIS DATOS ================= */
body.mis-datos .card {
    max-width: 420px;
    background: #fff;
    border-radius: 16px;
    padding: 22px 24px;
    margin-top: 20px;

    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

body.mis-datos .card p {
    margin: 10px 0;
    font-size: 15px;
    color: #444;
}

body.mis-datos .card strong {
    color: #222;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {

    body.mis-datos .main-content {
        margin-left: 0 !important;
    }

    body.mis-datos .sidebar {
        transform: translateX(-100%);
    }

    body.mis-datos .sidebar.active {
        transform: translateX(0);
    }
}


/* tabla general */
.tabla-documentos {
    width: 100%;
    border-collapse: collapse;
    font-family: Arial, sans-serif;
    margin-top: 10px;
}

/* encabezado */
.tabla-documentos thead tr {
 background-color: var(--azul-principal);
    /* azul bootstrap */
    color: #fff;
    text-align: left;
}

.tabla-documentos th,
.tabla-documentos td {
    padding: 8px 12px;
    border: 1px solid #ddd;
    font-size: 14px;
}

/* filas */
.tabla-documentos tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

.tabla-documentos tbody tr:hover {
    background-color: #e6f0ff;
}

/* estatus */
.tabla-documentos .estatus {
    font-weight: bold;
}

.tabla-documentos .estatus.PENDIENTE {
    background-color: rgba(255, 165, 0, 0.2); /* naranja suave */
    color: orange;
    text-align: center;
    border-radius: 2px;
    padding: 2px 4px;
}

.tabla-documentos .estatus.APROBADO {
    background-color: rgba(0, 128, 0, 0.2); /* verde suave */
    color: green;
    text-align: center;
    border-radius: 2px;
    padding: 2px 4px;
}

.tabla-documentos .estatus.RECHAZADO {
    background-color: rgba(255, 0, 0, 0.2); /* rojo suave */
    color: red;
    text-align: center;
    border-radius: 2px;
    padding: 2px 4px;
}

/* botones */
.tabla-documentos button {
    padding: 4px 8px;
    background-color: var(--azul-principal);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
}

.tabla-documentos button:hover {
    background-color: var(--azul-principal);
}

.tabla-documentos input[type="file"] {
    font-size: 12px;
}

/* enlace ver */

.tabla-documentos a:hover {
    text-decoration: underline;
}



.upload-cell {
  min-width: 220px;
}

.file-box {
  display: inline-block;
  background: #f1f3f4;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 13px;
}

.file-box input {
  display: none;
}

.file-box:hover {
  background: #e0e0e0;
}

.file-name {
  font-size: 12px;
  margin-top: 4px;
  color: #666;
}

.file-name.ok {
  color: #2e7d32;
  font-weight: 600;
}

.btn-subir {
  margin-top: 6px;
  padding: 6px 10px;
  border: none;
  border-radius: 6px;
  background: #1976d2;
  color: #fff;
  cursor: pointer;
  font-size: 13px;
}

.btn-subir:disabled {
  background: #9e9e9e;
  cursor: not-allowed;
}
