.clientes {
  color: #eaeaea;

  /* HEADER */
  .clientes_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;

    h1 {
      font-size: 26px;
      font-weight: 600;
      letter-spacing: 0.3px;
    }

    p {
      color: #7a7a7a;
      font-size: 13px;
      margin-top: 3px;
    }

    .btn_nuevo {
      background: #850e48;
      color: #fff;
      border: none;
      padding: 10px 18px;
      border-radius: 8px;
      cursor: pointer;
      font-weight: 600;
      transition: all 0.25s ease;

      &:hover {
        background: #6f0c3c;
        transform: translateY(-1px);
        box-shadow: 0 8px 20px rgba(133, 14, 72, 0.2);
      }

      &:active {
        transform: translateY(0);
      }
    }
  }

  /* TABLA */
  .tabla_wrapper {
    overflow-x: auto;
    border-radius: 12px;
  }

  .tabla_clientes {
    width: 100%;
    border-collapse: collapse;
    background: #0f0f0f;
    border-radius: 12px;
    overflow: hidden;

    th {
      text-align: left;
      padding: 14px 12px;
      color: #9a9a9a;
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.8px;
      border-bottom: 1px solid #1d1d1d;
      background: #121212;
    }

    td {
      padding: 14px 12px;
      font-size: 14px;
      color: #d6d6d6;
      border-bottom: 1px solid #1a1a1a;
    }

    tr {
      transition: background 0.2s ease;

      &:hover {
        background: rgba(255, 255, 255, 0.03);
      }
    }

    /* ACCIONES */
    .acciones {
      display: flex;
      gap: 8px;
      align-items: center;

      button,
      a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 34px;
        height: 34px;
        border-radius: 8px;
        border: 1px solid #1f1f1f;
        background: #121212;
        cursor: pointer;
        transition: all 0.2s ease;

        img {
          width: 16px;
          opacity: 0.8;
        }

        &:hover {
          background: rgba(133, 14, 72, 0.15);
          border-color: rgba(133, 14, 72, 0.3);

          img {
            opacity: 1;
          }
        }
      }
    }
  }

  /* ESTADOS */
  .estado {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 500;

    &.activo {
      background: rgba(133, 14, 72, 0.15);
      color: #f2b6d2;
      border: 1px solid rgba(133, 14, 72, 0.25);
    }

    &.inactivo {
      background: rgba(120, 120, 120, 0.08);
      color: #a3a3a3;
      border: 1px solid rgba(120, 120, 120, 0.2);
    }
  }
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  justify-content: center;
  align-items: center;

  .modal_content {
    width: 420px;
    background: #111;
    border: 1px solid #1f1f1f;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);

    h2 {
      font-size: 18px;
      margin-bottom: 16px;
      color: #f0f0f0;
    }

    form {
      display: flex;
      flex-direction: column;
      gap: 10px;

      input,
      select {
        padding: 10px 12px;
        border-radius: 8px;
        border: 1px solid #1f1f1f;
        background: #0a0a0a;
        color: #eaeaea;
        outline: none;
        transition: border 0.2s ease;

        &:focus {
          border-color: #850e48;
        }
      }

      button {
        margin-top: 6px;
        padding: 10px;
        border-radius: 8px;
        border: none;
        background: #850e48;
        color: white;
        font-weight: 600;
        cursor: pointer;
        transition: 0.2s;

        &:hover {
          background: #6f0c3c;
        }
      }
    }

    .close {
      margin-top: 10px;
      background: transparent;
      border: none;
      color: #888;
      cursor: pointer;

      &:hover {
        color: #fff;
      }
    }
  }
}
